|
TDLib
|
Inherits Update.
Subscription of a user to the bot was changed; for bots only.
Public Member Functions | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| updateUserSubscription () | |
| updateUserSubscription (int53 user_id_, string const &payload_, bool is_canceled_, bool is_restored_, bool is_payment_failed_) | |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| bool | is_canceled_ |
| True, if the subscription was canceled. | |
| bool | is_payment_failed_ |
| True, if the payment for the subscription has failed. | |
| bool | is_restored_ |
| True, if the subscription was restored. | |
| string | payload_ |
| Bot-specified subscription invoice payload. | |
| int53 | user_id_ |
| Identifier of the user. | |
Static Public Attributes | |
| static const std::int32_t | ID = -861199645 |
| Identifier uniquely determining a type of the object. | |
| updateUserSubscription | ( | ) |
Subscription of a user to the bot was changed; for bots only.
| updateUserSubscription | ( | int53 | user_id_, |
| string const & | payload_, | ||
| bool | is_canceled_, | ||
| bool | is_restored_, | ||
| bool | is_payment_failed_ ) |
Subscription of a user to the bot was changed; for bots only.
| [in] | user_id_ | Identifier of the user. |
| [in] | payload_ | Bot-specified subscription invoice payload. |
| [in] | is_canceled_ | True, if the subscription was canceled. |
| [in] | is_restored_ | True, if the subscription was restored. |
| [in] | is_payment_failed_ | True, if the payment for the subscription has failed. |
|
finalvirtual |