Class: TD::Types::BotTransactionPurpose::InvoicePayment

Inherits:
TD::Types::BotTransactionPurpose show all
Defined in:
lib/tdlib/types/bot_transaction_purpose/invoice_payment.rb

Overview

User bought a product from the bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from TD::Types::Base

#to_hash, #to_json

Instance Attribute Details

#invoice_payloadString

Invoice payload; for bots only.

Returns:

  • (String)

    the current value of invoice_payload



7
8
9
# File 'lib/tdlib/types/bot_transaction_purpose/invoice_payment.rb', line 7

def invoice_payload
  @invoice_payload
end

#product_infoTD::Types::ProductInfo?

Information about the bought product; may be null if not applicable.

Returns:



7
8
9
# File 'lib/tdlib/types/bot_transaction_purpose/invoice_payment.rb', line 7

def product_info
  @product_info
end