BasicGroupFullInfo class final

BasicGroupFullInfo (basicGroupFullInfo) - basic class

Contains full information about a basic group.

  • photo: Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo (optional).
  • description: Group description. Updated only after the basic group is opened.
  • creatorUserId: User identifier of the creator of the group; 0 if unknown.
  • members: Group members.
  • canHideMembers: 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.
  • canToggleAggressiveAntiSpam: True, if aggressive anti-spam checks can be enabled or disabled in the supergroup after upgrading the basic group to a supergroup.
  • inviteLink: 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 (optional).
  • botCommands: List of commands of bots in the 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})
BasicGroupFullInfo (basicGroupFullInfo) - basic class
const
BasicGroupFullInfo.fromJson(Map<String, dynamic> json)
Parse from a 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?
clientId client identifier
final
creatorUserId → int
User identifier of the creator of the group; 0 if unknown
final
currentObjectId → String
TDLib object type for current class instance
no setteroverride
description → String
Group description. Updated only after the basic group is opened
final
extra → dynamic
extra callback sign
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
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() → String
Convert model to TDLib JSON format, encoded into String.
override

Operators

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

Constants

defaultObjectId → const String
TDLib object type