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.

Returns:

  • (Integer)

    the current value of id



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

def id
  @id
end

#invoice_payloadString

Invoice payload.

Returns:

  • (String)

    the current value of 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.

Returns:

  • (Integer)

    the current value of sender_user_id



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.

Returns:



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

def shipping_address
  @shipping_address
end