tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::chatInviteLinkSubscriptionInfo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::chatInviteLinkSubscriptionInfo:
td::td_api::Object td::TlObject

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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< starSubscriptionPricingpricing_
 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&#x27;t be paid.
 

Static Public Attributes

static const std::int32_t ID = 953119592
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains information about subscription plan that must be paid by the user to use a chat invite link.

Definition at line 13589 of file td_api.h.

Constructor & Destructor Documentation

◆ chatInviteLinkSubscriptionInfo() [1/2]

td::td_api::chatInviteLinkSubscriptionInfo::chatInviteLinkSubscriptionInfo ( )

Contains information about subscription plan that must be paid by the user to use a chat invite link.

◆ chatInviteLinkSubscriptionInfo() [2/2]

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.

Parameters
[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&#x27;t be paid.

Member Function Documentation

◆ store()

void td::td_api::chatInviteLinkSubscriptionInfo::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ can_reuse_

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.

Definition at line 13602 of file td_api.h.

◆ form_id_

int64 td::td_api::chatInviteLinkSubscriptionInfo::form_id_

Identifier of the payment form to use for subscription payment; 0 if the subscription can&#x27;t be paid.

Definition at line 13604 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatInviteLinkSubscriptionInfo::ID = 953119592
static

Identifier uniquely determining a type of the object.

Definition at line 13621 of file td_api.h.

◆ pricing_

object_ptr<starSubscriptionPricing> td::td_api::chatInviteLinkSubscriptionInfo::pricing_

Information about subscription plan that must be paid by the user to use the link.

Definition at line 13600 of file td_api.h.


The documentation for this class was generated from the following file: