Class: TD::Types::BotTransactionPurpose::InvoicePayment
- Inherits:
-
TD::Types::BotTransactionPurpose
- Object
- Dry::Struct
- TD::Types::Base
- TD::Types::BotTransactionPurpose
- TD::Types::BotTransactionPurpose::InvoicePayment
- Defined in:
- lib/tdlib/types/bot_transaction_purpose/invoice_payment.rb
Overview
User bought a product from the bot.
Instance Attribute Summary collapse
-
#invoice_payload ⇒ String
Invoice payload; for bots only.
-
#product_info ⇒ TD::Types::ProductInfo?
Information about the bought product; may be null if not applicable.
Method Summary
Methods inherited from TD::Types::Base
Instance Attribute Details
#invoice_payload ⇒ String
Invoice payload; for bots only.
7 8 9 |
# File 'lib/tdlib/types/bot_transaction_purpose/invoice_payment.rb', line 7 def invoice_payload @invoice_payload end |
#product_info ⇒ TD::Types::ProductInfo?
Information about the bought product; may be null if not applicable.
7 8 9 |
# File 'lib/tdlib/types/bot_transaction_purpose/invoice_payment.rb', line 7 def product_info @product_info end |