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::chatMember Class Referencefinal

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

Inheritance diagram for td::td_api::chatMember:
td::td_api::Object td::TlObject

Public Member Functions

 chatMember ()
 
 chatMember (object_ptr< MessageSender > &&member_id_, string const &tag_, int53 inviter_user_id_, int32 joined_chat_date_, object_ptr< ChatMemberStatus > &&status_)
 
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

object_ptr< MessageSendermember_id_
 Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels.
 
string tag_
 Tag of the chat member or its custom title if the member is an administrator of the chat; 0-16 characters without emoji; applicable to basic groups and supergroups only.
 
int53 inviter_user_id_
 Identifier of a user who invited/promoted/banned this member in the chat; 0 if unknown.
 
int32 joined_chat_date_
 Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.
 
object_ptr< ChatMemberStatusstatus_
 Status of the member in the chat.
 

Static Public Attributes

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

Detailed Description

Describes a user or a chat as a member of another chat.

Definition at line 14005 of file td_api.h.

Constructor & Destructor Documentation

◆ chatMember() [1/2]

td::td_api::chatMember::chatMember ( )

Describes a user or a chat as a member of another chat.

◆ chatMember() [2/2]

td::td_api::chatMember::chatMember ( object_ptr< MessageSender > &&  member_id_,
string const &  tag_,
int53  inviter_user_id_,
int32  joined_chat_date_,
object_ptr< ChatMemberStatus > &&  status_ 
)

Describes a user or a chat as a member of another chat.

Parameters
[in]member_id_Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels.
[in]tag_Tag of the chat member or its custom title if the member is an administrator of the chat; 0-16 characters without emoji; applicable to basic groups and supergroups only.
[in]inviter_user_id_Identifier of a user who invited/promoted/banned this member in the chat; 0 if unknown.
[in]joined_chat_date_Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.
[in]status_Status of the member in the chat.

Member Function Documentation

◆ store()

void td::td_api::chatMember::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

◆ ID

const std::int32_t td::td_api::chatMember::ID = -1910810754
static

Identifier uniquely determining a type of the object.

Definition at line 14043 of file td_api.h.

◆ inviter_user_id_

int53 td::td_api::chatMember::inviter_user_id_

Identifier of a user who invited/promoted/banned this member in the chat; 0 if unknown.

Definition at line 14020 of file td_api.h.

◆ joined_chat_date_

int32 td::td_api::chatMember::joined_chat_date_

Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.

Definition at line 14022 of file td_api.h.

◆ member_id_

object_ptr<MessageSender> td::td_api::chatMember::member_id_

Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels.

Definition at line 14016 of file td_api.h.

◆ status_

object_ptr<ChatMemberStatus> td::td_api::chatMember::status_

Status of the member in the chat.

Definition at line 14024 of file td_api.h.

◆ tag_

string td::td_api::chatMember::tag_

Tag of the chat member or its custom title if the member is an administrator of the chat; 0-16 characters without emoji; applicable to basic groups and supergroups only.

Definition at line 14018 of file td_api.h.


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