ChatMemberStatus enum

Represents different types of chat member statuses in a chat.

Currently, the following 6 types of chat members are supported:

  • creator: Chat owner
  • administrator: Member with additional privileges
  • member: Regular chat member
  • restricted: Member with restrictions
  • left: Former member
  • kicked: Banned member
Inheritance
Available extensions
Annotations
  • @JsonEnum(fieldRename: FieldRename.snake)

Values

creator → const ChatMemberStatus

Represents the chat creator (owner)

administrator → const ChatMemberStatus

Represents an administrator with additional privileges

member → const ChatMemberStatus

Represents a regular chat member

restricted → const ChatMemberStatus

Represents a restricted member in supergroups

left → const ChatMemberStatus

Represents a user who left the chat

kicked → const ChatMemberStatus

Represents a banned user

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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.