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::verificationStatus Class Referencefinal

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

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

Public Member Functions

 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 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

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.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 86703 of file td_api.h.

Constructor & Destructor Documentation

◆ verificationStatus() [1/2]

td::td_api::verificationStatus::verificationStatus ( )

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

◆ verificationStatus() [2/2]

td::td_api::verificationStatus::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 td::td_api::verificationStatus::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

◆ bot_verification_icon_custom_emoji_id_

int64 td::td_api::verificationStatus::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.

Definition at line 86720 of file td_api.h.

◆ ID

const std::int32_t td::td_api::verificationStatus::ID = 988193164
static

Identifier uniquely determining a type of the object.

Definition at line 86738 of file td_api.h.

◆ is_fake_

bool td::td_api::verificationStatus::is_fake_

True, if the chat or the user is marked as fake by Telegram.

Definition at line 86718 of file td_api.h.

◆ is_scam_

bool td::td_api::verificationStatus::is_scam_

True, if the chat or the user is marked as scam by Telegram.

Definition at line 86716 of file td_api.h.

◆ is_verified_

bool td::td_api::verificationStatus::is_verified_

True, if the chat or the user is verified by Telegram.

Definition at line 86714 of file td_api.h.


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