Sha256: 4f83ec7fe95b8e0f5a7920330d7fb69234d839a1ae06bcc1020cc32fd93f8abb
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
module TD::Types # A new incoming pre-checkout query; for bots only. # Contains full information about a checkout. # # @attr id [Integer] Unique query identifier. # @attr sender_user_id [Integer] Identifier of the user who sent the query. # @attr currency [String] Currency for the product price. # @attr total_amount [Integer] Total price for the product, in the smallest units of the currency. # @attr invoice_payload [String] Invoice payload. # @attr shipping_option_id [String, nil] Identifier of a shipping option chosen by the user; may be empty if not # applicable. # @attr order_info [TD::Types::OrderInfo, nil] Information about the order; may be null. class Update::NewPreCheckoutQuery < Update attribute :id, TD::Types::Integer attribute :sender_user_id, TD::Types::Integer attribute :currency, TD::Types::String attribute :total_amount, TD::Types::Integer attribute :invoice_payload, TD::Types::String attribute :shipping_option_id, TD::Types::String.optional.default(nil) attribute :order_info, TD::Types::OrderInfo.optional.default(nil) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/update/new_pre_checkout_query.rb |