ChatType enum

This object represents type of a chat. Currently, the following 5 types are supported:

Inheritance
Available extensions
Annotations
  • @JsonEnum()

Values

private → const ChatType

For a private chat with a user

group → const ChatType

For a group chat

supergroup → const ChatType

For a supergroup chat

channel → const ChatType

For a channel chat

sender → const ChatType

For a private chat with the inline query sender

Note: Only For Inline Query

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<ChatType>
A constant List of the values in this enum, in order of their declaration.