Inherits StarSubscriptionType.
Describes a subscription in a bot or a business account.
Public Fields | |
| bool | is_canceled_by_bot_ |
| True, if the subscription was canceled by the bot and can't be extended. | |
| string | title_ |
| Subscription invoice title. | |
| object_ptr< photo > | photo_ |
| Subscription invoice photo. | |
| string | invoice_link_ |
| The link to the subscription invoice. | |
Public Instance Methods | |
| starSubscriptionTypeBot () | |
| starSubscriptionTypeBot (bool is_canceled_by_bot_, string const &title_, object_ptr< photo > &&photo_, string const &invoice_link_) | |
| 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 = 226024914 |
| Identifier uniquely determining a type of the object. | |
Describes a subscription in a bot or a business account.
| starSubscriptionTypeBot | ( | bool | is_canceled_by_bot_, |
| string const & | title_, | ||
| object_ptr< photo > && | photo_, | ||
| string const & | invoice_link_ | ||
| ) |
Describes a subscription in a bot or a business account.
| [in] | is_canceled_by_bot_ | True, if the subscription was canceled by the bot and can't be extended. |
| [in] | title_ | Subscription invoice title. |
| [in] | photo_ | Subscription invoice photo. |
| [in] | invoice_link_ | The link to the subscription invoice. |
|
finalvirtual |