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

Inherits PushMessageContent.

Description

A contact has registered with Telegram.

Public Fields

bool as_premium_account_
 True, if the user joined Telegram as a Telegram Premium account.
 

Public Instance Methods

 pushMessageContentContactRegistered ()
 
 pushMessageContentContactRegistered (bool as_premium_account_)
 
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 = 1233778465
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ pushMessageContentContactRegistered() [1/2]

A contact has registered with Telegram.

◆ pushMessageContentContactRegistered() [2/2]

pushMessageContentContactRegistered ( bool  as_premium_account_)
explicit

A contact has registered with Telegram.

Parameters
[in]as_premium_account_True, if the user joined Telegram as a Telegram Premium account.

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: