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

Inherits ChatJoinResult.

Description

An approval from a guard bot through a Web App is required to join the chat.

Public Member Functions

 chatJoinResultGuardBotApprovalRequired ()
 chatJoinResultGuardBotApprovalRequired (int53 bot_user_id_, int64 query_id_)
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

int53 bot_user_id_
 Identifier of the guard bot.
int64 query_id_
 Unique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatJoinResultGuardBotApprovalRequired() [1/2]

chatJoinResultGuardBotApprovalRequired ( )

An approval from a guard bot through a Web App is required to join the chat.

◆ chatJoinResultGuardBotApprovalRequired() [2/2]

chatJoinResultGuardBotApprovalRequired ( int53 bot_user_id_,
int64 query_id_ )

An approval from a guard bot through a Web App is required to join the chat.

Parameters
[in]bot_user_id_Identifier of the guard bot.
[in]query_id_Unique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult.

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: