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

Inherits Object.

Description

Describes parameters of verification that is provided by a bot.

Public Member Functions

 botVerificationParameters ()
 botVerificationParameters (int64 icon_custom_emoji_id_, string const &organization_name_, object_ptr< formattedText > &&default_custom_description_, bool can_set_custom_description_)
void store (TlStorerToString &s, const char *field_name) const final
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

bool can_set_custom_description_
 True, if the bot is allowed to provide custom description for verified entities.
object_ptr< formattedText > default_custom_description_
 Default custom description of verification reason to be used as placeholder in setMessageSenderBotVerification; may be null if none.
int64 icon_custom_emoji_id_
 Identifier of the custom emoji that is used as the verification sign.
string organization_name_
 Name of the organization that provides verification.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ botVerificationParameters() [1/2]

botVerificationParameters ( )

Describes parameters of verification that is provided by a bot.

◆ botVerificationParameters() [2/2]

botVerificationParameters ( int64 icon_custom_emoji_id_,
string const & organization_name_,
object_ptr< formattedText > && default_custom_description_,
bool can_set_custom_description_ )

Describes parameters of verification that is provided by a bot.

Parameters
[in]icon_custom_emoji_id_Identifier of the custom emoji that is used as the verification sign.
[in]organization_name_Name of the organization that provides verification.
[in]default_custom_description_Default custom description of verification reason to be used as placeholder in setMessageSenderBotVerification; may be null if none.
[in]can_set_custom_description_True, if the bot is allowed to provide custom description for verified entities.

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: