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

Inherits Update.

Description

A join request from the user was completed.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateChatJoinResult ()
 updateChatJoinResult (int64 query_id_, int53 chat_id_, object_ptr< ChatJoinRequestResult > &&result_)
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 chat_id_
 Identifier of the joined chat, or 0 if the request wasn't approved.
int64 query_id_
 Identifier of the join request query as received in chatJoinResultGuardBotApprovalRequired. If the corresponding Web App is still open, then it must be closed.
object_ptr< ChatJoinRequestResult > result_
 Result of the join.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateChatJoinResult() [1/2]

updateChatJoinResult ( )

A join request from the user was completed.

◆ updateChatJoinResult() [2/2]

updateChatJoinResult ( int64 query_id_,
int53 chat_id_,
object_ptr< ChatJoinRequestResult > && result_ )

A join request from the user was completed.

Parameters
[in]query_id_Identifier of the join request query as received in chatJoinResultGuardBotApprovalRequired. If the corresponding Web App is still open, then it must be closed.
[in]chat_id_Identifier of the joined chat, or 0 if the request wasn't approved.
[in]result_Result of the join.

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: