TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
chatMember () | |
chatMember (object_ptr< MessageSender > &&member_id_, int53 inviter_user_id_, int32 joined_chat_date_, object_ptr< ChatMemberStatus > &&status_) | |
std::int32_t | get_id () const final |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Public Attributes | |
object_ptr< MessageSender > | 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. | |
int53 | inviter_user_id_ |
Identifier of a user that 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< ChatMemberStatus > | status_ |
Status of the member in the chat. | |
Static Public Attributes | |
static const std::int32_t | ID = 1829953909 |
Identifier uniquely determining a type of the object. | |
Describes a user or a chat as a member of another chat.
td::td_api::chatMember::chatMember | ( | ) |
Describes a user or a chat as a member of another chat.
td::td_api::chatMember::chatMember | ( | object_ptr< MessageSender > && | member_id_, |
int53 | inviter_user_id_, | ||
int32 | joined_chat_date_, | ||
object_ptr< ChatMemberStatus > && | status_ | ||
) |
Describes a user or a chat as a member of another chat.
[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] | inviter_user_id_ | Identifier of a user that 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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.