Sha256: ca2b0add7f9e04aa7f34961cc98ff558ffc543d514dc33f8023203f8dd999431
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
module TD::Types # A payment has been completed; for bots only. # # @attr currency [String] Currency for price of the product. # @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 the 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. # @attr telegram_payment_charge_id [String] Telegram payment identifier. # @attr provider_payment_charge_id [String] Provider payment identifier. class MessageContent::PaymentSuccessfulBot < MessageContent 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) attribute :telegram_payment_charge_id, TD::Types::String attribute :provider_payment_charge_id, TD::Types::String end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/message_content/payment_successful_bot.rb |