ChatMember class

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

Inheritance

Constructors

ChatMember({String? extra, int? client_id, MessageSender? member_id, int53? inviter_user_id, int32? joined_chat_date, ChatMemberStatus? status})
ChatMember.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
inviter_user_id int53?
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown
getter/setter pair
joined_chat_date int32?
Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat
getter/setter pair
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
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ChatMemberStatus?
Status of the member in the chat
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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