BasicGroup class

Inheritance

Constructors

BasicGroup({int id, int memberCount, ChatMemberStatus 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)
BasicGroup.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
id Group identifier
read / write
isActive bool
isActive True, if the group is active
read / write
memberCount int
memberCount Number of members in the group
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status ChatMemberStatus
status Status of the current user in the group
read / write
upgradedToSupergroupId int
upgradedToSupergroupId Identifier of the supergroup to which this group was upgraded; 0 if none
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
'basicGroup'