Inherits BotTransactionPurpose.
User bought a product from the bot.
Public Fields | |
object_ptr< productInfo > | product_info_ |
Information about the bought product; may be null if not applicable. | |
bytes | invoice_payload_ |
Invoice payload; for bots only. | |
Public Instance Methods | |
botTransactionPurposeInvoicePayment () | |
botTransactionPurposeInvoicePayment (object_ptr< productInfo > &&product_info_, bytes const &invoice_payload_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1771593900 |
Identifier uniquely determining a type of the object. | |
User bought a product from the bot.
botTransactionPurposeInvoicePayment | ( | object_ptr< productInfo > && | product_info_, |
bytes const & | invoice_payload_ | ||
) |
User bought a product from the bot.
[in] | product_info_ | Information about the bought product; may be null if not applicable. |
[in] | invoice_payload_ | Invoice payload; for bots only. |
|
finalvirtual |