SupergroupFullInfo class

Inheritance

Constructors

SupergroupFullInfo({ChatPhoto photo, String description, int memberCount, int administratorCount, int restrictedCount, int bannedCount, int linkedChatId, int slowModeDelay, double slowModeDelayExpiresIn, bool canGetMembers, bool canSetUsername, bool canSetStickerSet, bool canSetLocation, bool canGetStatistics, bool isAllHistoryAvailable, int stickerSetId, ChatLocation location, String inviteLink, int upgradedFromBasicGroupId, int upgradedFromMaxMessageId})
Contains full information about a supergroup or channel
SupergroupFullInfo.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

administratorCount int
administratorCount Number of privileged users in the supergroup or channel; 0 if unknown
read / write
bannedCount int
bannedCount Number of users banned from chat; 0 if unknown
read / write
canGetMembers bool
canGetMembers True, if members of the chat can be retrieved
read / write
canGetStatistics bool
canGetStatistics True, if the supergroup or channel statistics are available
read / write
canSetLocation bool
canSetLocation True, if the supergroup location can be changed
read / write
canSetStickerSet bool
canSetStickerSet True, if the supergroup sticker set can be changed
read / write
canSetUsername bool
canSetUsername True, if the chat username can be changed
read / write
description String
description Supergroup or channel description
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inviteLink Invite link for this chat
read / write
isAllHistoryAvailable bool
isAllHistoryAvailable True, if new chat members will have access to old messages. In public or discussion groups and both public and private channels, old messages are always available, so this option affects only private supergroups without a linked chat. The value of this field is only available for chat administrators
read / write
linkedChatId int
linkedChatId 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 Location to which the supergroup is connected; may be null
read / write
memberCount int
memberCount Number of members in the supergroup or channel; 0 if unknown
read / write
photo ChatPhoto
photo Chat photo; may be null
read / write
restrictedCount int
restrictedCount Number of restricted users in the supergroup; 0 if unknown
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
slowModeDelay int
slowModeDelay Delay between consecutive sent messages for non-administrator supergroup members, in seconds
read / write
slowModeDelayExpiresIn double
slowModeDelayExpiresIn 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
stickerSetId int
stickerSetId Identifier of the supergroup sticker set; 0 if none
read / write
upgradedFromBasicGroupId int
upgradedFromBasicGroupId Identifier of the basic group from which supergroup was upgraded; 0 if none
read / write
upgradedFromMaxMessageId int
upgradedFromMaxMessageId Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none
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
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'supergroupFullInfo'