Inherits Object.
Contains information about subscription plan that must be paid by the user to use a chat invite link.
Public Fields | |
| object_ptr< starSubscriptionPricing > | pricing_ |
| Information about subscription plan that must be paid by the user to use the link. | |
| bool | can_reuse_ |
| True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again. | |
| int64 | form_id_ |
| Identifier of the payment form to use for subscription payment; 0 if the subscription can't be paid. | |
Public Instance Methods | |
| chatInviteLinkSubscriptionInfo () | |
| chatInviteLinkSubscriptionInfo (object_ptr< starSubscriptionPricing > &&pricing_, bool can_reuse_, int64 form_id_) | |
| 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 = 953119592 |
| Identifier uniquely determining a type of the object. | |
Contains information about subscription plan that must be paid by the user to use a chat invite link.
| chatInviteLinkSubscriptionInfo | ( | object_ptr< starSubscriptionPricing > && | pricing_, |
| bool | can_reuse_, | ||
| int64 | form_id_ | ||
| ) |
Contains information about subscription plan that must be paid by the user to use a chat invite link.
| [in] | pricing_ | Information about subscription plan that must be paid by the user to use the link. |
| [in] | can_reuse_ | True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again. |
| [in] | form_id_ | Identifier of the payment form to use for subscription payment; 0 if the subscription can't be paid. |
|
finalvirtual |