SupergroupFullInfo class

Contains full information about a supergroup or channel

Inheritance

Constructors

SupergroupFullInfo({String? extra, int? client_id, ChatPhoto? photo, string? description, int32? member_count, int32? administrator_count, int32? restricted_count, int32? banned_count, int53? linked_chat_id, int32? slow_mode_delay, double? slow_mode_delay_expires_in, Bool? can_get_members, Bool? has_hidden_members, Bool? can_hide_members, Bool? can_set_username, Bool? can_set_sticker_set, Bool? can_set_location, Bool? can_get_statistics, Bool? can_toggle_aggressive_anti_spam, Bool? is_all_history_available, Bool? has_aggressive_anti_spam_enabled, int64? sticker_set_id, ChatLocation? location, ChatInviteLink? invite_link, vector<BotCommands>? bot_commands, int53? upgraded_from_basic_group_id, int53? upgraded_from_max_message_id})
SupergroupFullInfo.fromMap(Map<String, dynamic> map)

Properties

administrator_count int32?
Number of privileged users in the supergroup or channel; 0 if unknown
getter/setter pair
banned_count int32?
Number of users banned from chat; 0 if unknown
getter/setter pair
bot_commands vector<BotCommands>?
List of commands of bots in the group
getter/setter pair
can_get_members Bool?
True, if members of the chat can be retrieved via getSupergroupMembers or searchChatMembers
getter/setter pair
can_get_statistics Bool?
True, if the supergroup or channel statistics are available
getter/setter pair
can_hide_members Bool?
True, if non-administrators and non-bots can be hidden in responses to getSupergroupMembers and searchChatMembers for non-administrators
getter/setter pair
can_set_location Bool?
True, if the supergroup location can be changed
getter/setter pair
can_set_sticker_set Bool?
True, if the supergroup sticker set can be changed
getter/setter pair
can_set_username Bool?
True, if the chat username can be changed
getter/setter pair
can_toggle_aggressive_anti_spam Bool?
True, if aggressive anti-spam checks can be enabled or disabled in the supergroup
getter/setter pair
client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
description string?
getter/setter pair
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
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
getter/setter pair
has_hidden_members Bool?
True, if non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
Primary invite link for the chat; may be null. For chat administrators with can_invite_users right only
getter/setter pair
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, so this option affects only private non-forum supergroups without a linked chat. The value of this field is only available to chat administrators
getter/setter pair
linked_chat_id int53?
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
getter/setter pair
location ChatLocation?
Location to which the supergroup is connected; may be null
getter/setter pair
member_count int32?
Number of members in the supergroup or channel; 0 if unknown
getter/setter pair
photo ChatPhoto?
Chat photo; may be null if empty or unknown. If non-null, then it is the same photo as in chat.photo
getter/setter pair
restricted_count int32?
Number of restricted users in the supergroup; 0 if unknown
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slow_mode_delay int32?
Delay between consecutive sent messages for non-administrator supergroup members, in seconds
getter/setter pair
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
getter/setter pair
sticker_set_id int64?
Identifier of the supergroup sticker set; 0 if none
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride
upgraded_from_basic_group_id int53?
Identifier of the basic group from which supergroup was upgraded; 0 if none
getter/setter pair
upgraded_from_max_message_id int53?
Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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