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

Inherits Object.

Description

Contains information about verification status of a chat or a user.

Public Fields

bool is_verified_
 True, if the chat or the user is verified by Telegram.
 
bool is_scam_
 True, if the chat or the user is marked as scam by Telegram.
 
bool is_fake_
 True, if the chat or the user is marked as fake by Telegram.
 
int64 bot_verification_icon_custom_emoji_id_
 Identifier of the custom emoji to be shown as verification sign provided by a bot for the user; 0 if none.
 

Public Instance Methods

 verificationStatus ()
 
 verificationStatus (bool is_verified_, bool is_scam_, bool is_fake_, int64 bot_verification_icon_custom_emoji_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 = 988193164
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ verificationStatus() [1/2]

Contains information about verification status of a chat or a user.

◆ verificationStatus() [2/2]

verificationStatus ( bool  is_verified_,
bool  is_scam_,
bool  is_fake_,
int64  bot_verification_icon_custom_emoji_id_ 
)

Contains information about verification status of a chat or a user.

Parameters
[in]is_verified_True, if the chat or the user is verified by Telegram.
[in]is_scam_True, if the chat or the user is marked as scam by Telegram.
[in]is_fake_True, if the chat or the user is marked as fake by Telegram.
[in]bot_verification_icon_custom_emoji_id_Identifier of the custom emoji to be shown as verification sign provided by a bot for the user; 0 if none.

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: