BasicGroupFullInfo class final

Contains full information about a basic group

Inheritance

Constructors

BasicGroupFullInfo({ChatPhoto? photo, required String description, required int creatorUserId, required List<ChatMember> members, required bool canHideMembers, required bool canToggleAggressiveAntiSpam, ChatInviteLink? inviteLink, required List<BotCommands> botCommands, dynamic extra, int? clientId})
Contains full information about a basic group
const
BasicGroupFullInfo.fromJson(Map<String, dynamic> json)
Parses a BasicGroupFullInfo from TDLib JSON.
factory

Properties

botCommands → List<BotCommands>
List of commands of bots in the group
final
canHideMembers → bool
True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators after upgrading the basic group to a supergroup
final
canToggleAggressiveAntiSpam → bool
True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup
final
clientId → int?
Identifier of the TDLib client that sent this object.
final
creatorUserId → int
User identifier of the creator of the group; 0 if unknown
final
description → String
Group description. Updated only after the basic group is opened
final
extra → dynamic
"@extra" of the request this object answers.
final
hashCode → int
The hash code for this object.
no setterinherited
Primary invite link for this group; may be null. For chat administrators with can_invite_users right only. Updated only after the basic group is opened
final
members → List<ChatMember>
Group members
final
photo → ChatPhoto?
Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ChatPhoto? photo()?, String? description, int? creatorUserId, List<ChatMember>? members, bool? canHideMembers, bool? canToggleAggressiveAntiSpam, ChatInviteLink? inviteLink()?, List<BotCommands>? botCommands, dynamic extra, int? clientId}) → BasicGroupFullInfo
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.