BasicGroup class final

Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users)

Inheritance

Constructors

BasicGroup({required int id, required int memberCount, required ChatMemberStatus status, required bool isActive, required int upgradedToSupergroupId, dynamic extra, int? clientId})
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users)
const
BasicGroup.fromJson(Map<String, dynamic> json)
Parses a BasicGroup from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object.
final
extra → dynamic
"@extra" of the request this object answers.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
Group identifier
final
isActive → bool
True, if the group is active
final
memberCount → int
Number of members in the group
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → ChatMemberStatus
Status of the current user in the group
final
upgradedToSupergroupId → int
Identifier of the supergroup to which this group was upgraded; 0 if none
final

Methods

copyWith({int? id, int? memberCount, ChatMemberStatus? status, bool? isActive, int? upgradedToSupergroupId, dynamic extra, int? clientId}) → BasicGroup
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.