TDLib
Loading...
Searching...
No Matches
verificationStatus Class Referencefinal

Inherits Object.

Description

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

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 verificationStatus ()
 verificationStatus (bool is_verified_, bool is_scam_, bool is_fake_, int64 bot_verification_icon_custom_emoji_id_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

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.
bool is_fake_
 True, if the chat or the user is marked as fake by Telegram.
bool is_scam_
 True, if the chat or the user is marked as scam by Telegram.
bool is_verified_
 True, if the chat or the user is verified by Telegram.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ verificationStatus() [1/2]

verificationStatus ( )

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.

Member Function 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: