List of all members | Public Fields | Public Instance Methods | Static Public Attributes
chatInviteLinkSubscriptionInfo Class Referencefinal

Inherits Object.

Description

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

Public Fields

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatInviteLinkSubscriptionInfo() [1/2]

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

◆ chatInviteLinkSubscriptionInfo() [2/2]

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't be paid.

Method Documentation

◆ store()

void 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 TlObject.


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