UpdateChatMember class

User rights changed in a chat; for bots only.

Inheritance
Available Extensions

Constructors

UpdateChatMember({required int chat_id, required int actor_user_id, required int date, ChatInviteLink? invite_link, required bool via_chat_folder_invite_link, required ChatMember old_chat_member, required ChatMember new_chat_member, int? extra, int? clientId})
User rights changed in a chat; for bots only

Properties

actor_user_id int
Identifier of the user, changing the rights.
read / write
chat_id int
Chat identifier.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
date int
Point in time (Unix timestamp) when the user rights was changed.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
If user has joined the chat using an invite link, the invite link; may be null.
read / write
new_chat_member ChatMember
New chat member.
read / write
old_chat_member ChatMember
Previous chat member.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
True, if the user has joined the chat using an invite link for a chat folder.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) UpdateChatMember?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"updateChatMember"