Sha256: 6d4eaa50eba8cc04a99cff0468c0d798dfa6bb811083f69af3016a04b8d64ada
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 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 [TD::Types::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 [TD::Types::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::Coercible::Integer attribute :sender_user_id, TD::Types::Coercible::Integer attribute :currency, TD::Types::String attribute :total_amount, TD::Types::Coercible::Integer attribute :invoice_payload, TD::Types::Coercible::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
3 entries across 3 versions & 1 rubygems