BasicGroup class

Implemented types

Constructors

BasicGroup({int id, int memberCount, dynamic status, bool isActive, int upgradedToSupergroupId})
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users). id Group identifier. memberCount Number of members in the group. status Status of the current user in the group. isActive True, if the group is active. upgradedToSupergroupId Identifier of the supergroup to which this group was upgraded; 0 if none
BasicGroup.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
isActive bool
read / write
memberCount int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status ↔ dynamic
read / write
upgradedToSupergroupId int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"basicGroup"