SupergroupID class
This class is used to represent a supergroup id. It is a subclass of ID.
Simply pass the supergroup's username to the constructor to create a supergroup id.
Constructors
- SupergroupID.new(String id)
-
Creates a new SupergroupID object with the passed
id
which is a string.const - SupergroupID.create(String id)
-
Creates a new SupergroupID object with the passed
id
which is a string.factory
Properties
Methods
-
get(
) → Future< ChatFullInfo> -
Returns the Chat object of the chat.
inherited
-
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.
inherited
-
toString(
) → String -
A string representation of this object.
inherited