Inherits StarTransactionType.
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
Public Fields | |
| int53 | user_id_ |
| Identifier of the bot or the business account user that sent the paid media. | |
| array< object_ptr< PaidMedia > > | media_ |
| The bought media if the transaction wasn't refunded. | |
Public Instance Methods | |
| starTransactionTypeBotPaidMediaPurchase () | |
| starTransactionTypeBotPaidMediaPurchase (int53 user_id_, array< object_ptr< PaidMedia >> &&media_) | |
| 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 = 976645509 |
| Identifier uniquely determining a type of the object. | |
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
| starTransactionTypeBotPaidMediaPurchase | ( | int53 | user_id_, |
| array< object_ptr< PaidMedia >> && | media_ | ||
| ) |
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
| [in] | user_id_ | Identifier of the bot or the business account user that sent the paid media. |
| [in] | media_ | The bought media if the transaction wasn't refunded. |
|
finalvirtual |