Inherits Update.
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< chatInviteLink > | invite_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< chatMember > | old_chat_member_ |
Previous chat member. | |
object_ptr< chatMember > | new_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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1736025145 |
Identifier uniquely determining a type of the object. | |
updateChatMember | ( | ) |
User rights changed in a chat; for bots only.
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.
[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. |
|
finalvirtual |