ID class abstract
This class is used to represent a chat id. It is a superclass of ChatID, ChannelID and SupergroupID.
When you want to send a message to a chat, you need to specify the chat id. You can use this class to represent the chat id.
- Implementers
Constructors
Properties
Methods
-
get(
) → Future< ChatFullInfo> - Returns the Chat object of the chat.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic - Returns the id as a string or an integer.
-
toString(
) → String -
A string representation of this object.
inherited