Sha256: 75278035995550184b20111c31668fac6f361d1837bddbf47861ac8390e29d43

Contents?: true

Size: 798 Bytes

Versions: 2

Compression:

Stored size: 798 Bytes

Contents

module TD::Types
  # A payment has been completed.
  #
  # @attr invoice_chat_id [Integer] Identifier of the chat, containing the corresponding invoice message; 0 if unknown.
  # @attr invoice_message_id [Integer] Identifier of the message with the corresponding invoice; can be an identifier
  #   of a deleted message.
  # @attr currency [TD::Types::String] Currency for the price of the product.
  # @attr total_amount [Integer] Total price for the product, in the smallest units of the currency.
  class MessageContent::PaymentSuccessful < MessageContent
    attribute :invoice_chat_id, TD::Types::Coercible::Integer
    attribute :invoice_message_id, TD::Types::Coercible::Integer
    attribute :currency, TD::Types::String
    attribute :total_amount, TD::Types::Coercible::Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/message_content/payment_successful.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/message_content/payment_successful.rb