SupergroupFullInfo class

Implemented types

Constructors

SupergroupFullInfo({String description, int memberCount, int administratorCount, int restrictedCount, int bannedCount, bool canGetMembers, bool canSetUsername, bool canSetStickerSet, bool canViewStatistics, bool isAllHistoryAvailable, int stickerSetId, String inviteLink, int upgradedFromBasicGroupId, int upgradedFromMaxMessageId})
Contains full information about a supergroup or channel. paramDescription Supergroup or channel description. memberCount Number of members in the supergroup or channel; 0 if unknown. administratorCount Number of privileged users in the supergroup or channel; 0 if unknown. restrictedCount Number of restricted users in the supergroup; 0 if unknown. bannedCount Number of users banned from chat; 0 if unknown. canGetMembers True, if members of the chat can be retrieved. canSetUsername True, if the chat can be made public. canSetStickerSet True, if the supergroup sticker set can be changed. canViewStatistics True, if the channel statistics is available through getChatStatisticsUrl. isAllHistoryAvailable True, if new chat members will have access to old messages. In public supergroups and both public and private channels, old messages are always available, so this option affects only private supergroups. The value of this field is only available for chat administrators. stickerSetId Identifier of the supergroup sticker set; 0 if none. inviteLink Invite link for this chat. upgradedFromBasicGroupId Identifier of the basic group from which supergroup was upgraded; 0 if none. upgradedFromMaxMessageId Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none
SupergroupFullInfo.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

administratorCount int
read / write
bannedCount int
read / write
canGetMembers bool
read / write
canSetStickerSet bool
read / write
canSetUsername bool
read / write
canViewStatistics bool
read / write
description String
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
read / write
isAllHistoryAvailable bool
read / write
memberCount int
read / write
restrictedCount int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stickerSetId int
read / write
upgradedFromBasicGroupId int
read / write
upgradedFromMaxMessageId int
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"supergroupFullInfo"