Class: TD::Types::MessageContent::PaymentSuccessful
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::PaymentSuccessful
- Defined in:
- lib/tdlib/types/message_content/payment_successful.rb
Overview
A payment has been completed.
Instance Attribute Summary collapse
-
#currency ⇒ TD::Types::String
Currency for the price of the product.
-
#invoice_chat_id ⇒ Integer
Identifier of the chat, containing the corresponding invoice message; 0 if unknown.
-
#invoice_message_id ⇒ Integer
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
-
#total_amount ⇒ Integer
Total price for the product, in the smallest units of the currency.
Method Summary
Methods inherited from Base
Instance Attribute Details
#currency ⇒ TD::Types::String
Currency for the price of the product.
9 10 11 |
# File 'lib/tdlib/types/message_content/payment_successful.rb', line 9 def currency @currency end |
#invoice_chat_id ⇒ Integer
Identifier of the chat, containing the corresponding invoice message; 0 if unknown.
9 10 11 |
# File 'lib/tdlib/types/message_content/payment_successful.rb', line 9 def invoice_chat_id @invoice_chat_id end |
#invoice_message_id ⇒ Integer
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
9 10 11 |
# File 'lib/tdlib/types/message_content/payment_successful.rb', line 9 def @invoice_message_id end |
#total_amount ⇒ Integer
Total price for the product, in the smallest units of the currency.
9 10 11 |
# File 'lib/tdlib/types/message_content/payment_successful.rb', line 9 def total_amount @total_amount end |