Class: TD::Types::Update::NewShippingQuery

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/new_shipping_query.rb

Overview

A new incoming shipping query; for bots only. Only for invoices with flexible price.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idInteger

Unique query identifier.



9
10
11
# File 'lib/tdlib/types/update/new_shipping_query.rb', line 9

def id
  @id
end

#invoice_payloadTD::Types::String

Invoice payload.



9
10
11
# File 'lib/tdlib/types/update/new_shipping_query.rb', line 9

def invoice_payload
  @invoice_payload
end

#sender_user_idInteger

Identifier of the user who sent the query.



9
10
11
# File 'lib/tdlib/types/update/new_shipping_query.rb', line 9

def sender_user_id
  @sender_user_id
end

#shipping_addressTD::Types::Address

User shipping address.



9
10
11
# File 'lib/tdlib/types/update/new_shipping_query.rb', line 9

def shipping_address
  @shipping_address
end