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 were changed.
 
object_ptr< chatInviteLinkinvite_link_
 If user has joined the chat using an invite link, the invite link; may be null.
 
bool via_join_request_
 True, if the user has joined the chat after sending a join request and being approved by an administrator.
 
bool via_chat_folder_invite_link_
 True, if the user has joined the chat using an invite link for a chat folder.
 
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_, bool via_join_request_, bool via_chat_folder_invite_link_, object_ptr< chatMember > &&old_chat_member_, object_ptr< chatMember > &&new_chat_member_)
 
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 = -1736025145
 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_,
bool  via_join_request_,
bool  via_chat_folder_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 were changed.
[in]invite_link_If user has joined the chat using an invite link, the invite link; may be null.
[in]via_join_request_True, if the user has joined the chat after sending a join request and being approved by an administrator.
[in]via_chat_folder_invite_link_True, if the user has joined the chat using an invite link for a chat folder.
[in]old_chat_member_Previous chat member.
[in]new_chat_member_New chat member.

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: