tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::updateChatMember Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::updateChatMember:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::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
 

Public Attributes

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.
 

Static Public Attributes

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

Detailed Description

User rights changed in a chat; for bots only.

Definition at line 83095 of file td_api.h.

Constructor & Destructor Documentation

◆ updateChatMember() [1/2]

td::td_api::updateChatMember::updateChatMember ( )

User rights changed in a chat; for bots only.

◆ updateChatMember() [2/2]

td::td_api::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_ 
)

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.

Member Function Documentation

◆ store()

void td::td_api::updateChatMember::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 td::TlObject.

Member Data Documentation

◆ actor_user_id_

int53 td::td_api::updateChatMember::actor_user_id_

Identifier of the user, changing the rights.

Definition at line 83108 of file td_api.h.

◆ chat_id_

int53 td::td_api::updateChatMember::chat_id_

Chat identifier.

Definition at line 83106 of file td_api.h.

◆ date_

int32 td::td_api::updateChatMember::date_

Point in time (Unix timestamp) when the user rights were changed.

Definition at line 83110 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateChatMember::ID = -1736025145
static

Identifier uniquely determining a type of the object.

Definition at line 83142 of file td_api.h.

◆ invite_link_

object_ptr<chatInviteLink> td::td_api::updateChatMember::invite_link_

If user has joined the chat using an invite link, the invite link; may be null.

Definition at line 83112 of file td_api.h.

◆ new_chat_member_

object_ptr<chatMember> td::td_api::updateChatMember::new_chat_member_

New chat member.

Definition at line 83120 of file td_api.h.

◆ old_chat_member_

object_ptr<chatMember> td::td_api::updateChatMember::old_chat_member_

Previous chat member.

Definition at line 83118 of file td_api.h.

◆ via_chat_folder_invite_link_

bool td::td_api::updateChatMember::via_chat_folder_invite_link_

True, if the user has joined the chat using an invite link for a chat folder.

Definition at line 83116 of file td_api.h.

◆ via_join_request_

bool td::td_api::updateChatMember::via_join_request_

True, if the user has joined the chat after sending a join request and being approved by an administrator.

Definition at line 83114 of file td_api.h.


The documentation for this class was generated from the following file: