ChatMemberStatus enum
This object represents the status of a member in a chat.
Constructors
- ChatMemberStatus(String value)
-
Constructs a new ChatMemberStatus.
const
- ChatMemberStatus.fromJson(String value)
-
Constructs a new ChatMemberStatus from a String.
factory
Values
- creator → const ChatMemberStatus
-
Creator of the chat
const ChatMemberStatus("creator")
- administrator → const ChatMemberStatus
-
Administrator of the chat
const ChatMemberStatus("administrator")
- member → const ChatMemberStatus
-
Member of the chat
const ChatMemberStatus("member")
- restricted → const ChatMemberStatus
-
Restricted member of the chat
const ChatMemberStatus("restricted")
- left → const ChatMemberStatus
-
Member who left the chat
const ChatMemberStatus("left")
- kicked → const ChatMemberStatus
-
Member who was kicked from the chat
const ChatMemberStatus("kicked")
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this ChatMemberStatus to a String.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ChatMemberStatus> - A constant List of the values in this enum, in order of their declaration.