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

Inherits Update.

Description

User rights changed in a chat; for bots only.

Public Fields

int53 chat_id_
 Chat identifier.
 
int53 actor_user_id_
 Identifier of the user, changing the rights.
 
int32 date_
 Point in time (Unix timestamp) when the user rights was changed.
 
object_ptr< chatInviteLinkinvite_link_
 If user has joined the chat using an invite link, the invite link; may be null.
 
object_ptr< chatMemberold_chat_member_
 Previous chat member.
 
object_ptr< chatMembernew_chat_member_
 New chat member.
 

Public Instance Methods

 updateChatMember ()
 
 updateChatMember (int53 chat_id_, int53 actor_user_id_, int32 date_, object_ptr< chatInviteLink > &&invite_link_, object_ptr< chatMember > &&old_chat_member_, object_ptr< chatMember > &&new_chat_member_)
 
std::int32_t get_id () const final
 
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 = -2027989165
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ updateChatMember() [1/2]

User rights changed in a chat; for bots only.

◆ updateChatMember() [2/2]

updateChatMember ( int53  chat_id_,
int53  actor_user_id_,
int32  date_,
object_ptr< chatInviteLink > &&  invite_link_,
object_ptr< chatMember > &&  old_chat_member_,
object_ptr< chatMember > &&  new_chat_member_ 
)

User rights changed in a chat; for bots only.

Parameters
[in]chat_id_Chat identifier.
[in]actor_user_id_Identifier of the user, changing the rights.
[in]date_Point in time (Unix timestamp) when the user rights was changed.
[in]invite_link_If user has joined the chat using an invite link, the invite link; may be null.
[in]old_chat_member_Previous chat member.
[in]new_chat_member_New chat member.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

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