ChatMember class

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

Inheritance
Available Extensions

Constructors

ChatMember({required MessageSender member_id, required int inviter_user_id, required int joined_chat_date, required ChatMemberStatus status, int? extra, int? clientId})
Describes a user or a chat as a member of another chat

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
inviter_user_id int
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.
read / write
joined_chat_date int
Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.
read / write
member_id MessageSender
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.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
status ChatMemberStatus
Status of the member in the chat.
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) ChatMember?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatMember"