ChatMemberLeft class

Represents a chat member that isn't currently a member of the chat, but may join it themselves.

Implemented types

Constructors

ChatMemberLeft({required User user})
Creates a new ChatMemberLeft object.
const
ChatMemberLeft.fromJson(Map<String, dynamic> json)
Creates a new ChatMemberLeft object from json.
factory

Properties

from User
Information about the user
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ChatMemberStatus
The member's status in the chat, always “left”
final
user User
Information about the user
final

Methods

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

Operators

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