|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| chatInviteLinkSubscriptionInfo () | |
| chatInviteLinkSubscriptionInfo (object_ptr< starSubscriptionPricing > &&pricing_, bool can_reuse_, int64 form_id_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
| 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. | |
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.
| td::td_api::chatInviteLinkSubscriptionInfo::chatInviteLinkSubscriptionInfo | ( | ) |
Contains information about subscription plan that must be paid by the user to use a chat invite link.
| td::td_api::chatInviteLinkSubscriptionInfo::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 |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| bool td::td_api::chatInviteLinkSubscriptionInfo::can_reuse_ |
True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again.
| int64 td::td_api::chatInviteLinkSubscriptionInfo::form_id_ |
|
static |
| object_ptr<starSubscriptionPricing> td::td_api::chatInviteLinkSubscriptionInfo::pricing_ |