SupergroupFullInfo class

Contains full information about a supergroup or channel.

Inheritance
Available Extensions

Constructors

SupergroupFullInfo({ChatPhoto? photo, required String description, required int member_count, required int administrator_count, required int restricted_count, required int banned_count, required int linked_chat_id, required int slow_mode_delay, required double slow_mode_delay_expires_in, required bool can_get_members, required bool has_hidden_members, required bool can_hide_members, required bool can_set_sticker_set, required bool can_set_location, required bool can_get_statistics, required bool can_toggle_aggressive_anti_spam, required bool is_all_history_available, required bool has_aggressive_anti_spam_enabled, required bool has_pinned_stories, required int64 sticker_set_id, ChatLocation? location, ChatInviteLink? invite_link, required List<BotCommands> bot_commands, required int upgraded_from_basic_group_id, required int upgraded_from_max_message_id, int? extra, int? clientId})
Contains full information about a supergroup or channel

Properties

administrator_count int
Number of privileged users in the supergroup or channel; 0 if unknown.
read / write
banned_count int
Number of users banned from chat; 0 if unknown.
read / write
bot_commands List<BotCommands>
List of commands of bots in the group.
read / write
can_get_members bool
True, if members of the chat can be retrieved via getSupergroupMembers or searchChatMembers.
read / write
can_get_statistics bool
True, if the supergroup or channel statistics are available.
read / write
can_hide_members bool
True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators.
read / write
can_set_location bool
True, if the supergroup location can be changed.
read / write
can_set_sticker_set bool
True, if the supergroup sticker set can be changed.
read / write
can_toggle_aggressive_anti_spam bool
True, if aggressive anti-spam checks can be enabled or disabled in the supergroup.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
description String
Supergroup or channel description.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
has_aggressive_anti_spam_enabled bool
True, if aggressive anti-spam checks are enabled in the supergroup. The value of this field is only available to chat administrators.
read / write
has_hidden_members bool
True, if non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.
read / write
has_pinned_stories bool
True, if the channel has pinned stories.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
Primary invite link for the chat; may be null. For chat administrators with can_invite_users right only.
read / write
is_all_history_available bool
True, if new chat members will have access to old messages. In public, discussion, of forum groups and all channels, old messages are always available,.
read / write
linked_chat_id int
Chat identifier of a discussion group for the channel, or a channel, for which the supergroup is the designated discussion group; 0 if none or unknown.
read / write
location ChatLocation?
Location to which the supergroup is connected; may be null if none.
read / write
member_count int
Number of members in the supergroup or channel; 0 if unknown.
read / write
photo ChatPhoto?
Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo.
read / write
restricted_count int
Number of restricted users in the supergroup; 0 if unknown.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
slow_mode_delay int
Delay between consecutive sent messages for non-administrator supergroup members, in seconds.
read / write
slow_mode_delay_expires_in double
Time left before next message can be sent in the supergroup, in seconds. An updateSupergroupFullInfo update is not triggered when value of this field changes, but both new and old values are non-zero.
read / write
sticker_set_id int64
Identifier of the supergroup sticker set; 0 if none. ; string representation of int, use int.parse
read / write
upgraded_from_basic_group_id int
Identifier of the basic group from which supergroup was upgraded; 0 if none.
read / write
upgraded_from_max_message_id int
Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) SupergroupFullInfo?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"supergroupFullInfo"