ChatTypeSupergroup class

Inheritance

Constructors

ChatTypeSupergroup({int supergroupId, bool isChannel})
A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members)
ChatTypeSupergroup.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isChannel bool
isChannel True, if the supergroup is a channel
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
supergroupId int
supergroupId Supergroup or channel identifier
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
'chatTypeSupergroup'