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

Inherits Object.

Description

Describes parameters of verification that is provided by a bot.

Public Fields

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.
 
object_ptr< formattedTextdefault_custom_description_
 Default custom description of verification reason to be used as placeholder in setMessageSenderBotVerification; may be null if none.
 
bool can_set_custom_description_
 True, if the bot is allowed to provide custom description for verified entities.
 

Public Instance Methods

 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 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 = -723737249
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ botVerificationParameters() [1/2]

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.

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: