SupergroupFullInfo
Contains full information about a supergroup or channel.
This is an alias for the SupergroupFullInfoUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "supergroupFullInfo" | |
photo | Chat photo; may be null | |
description | string | Supergroup or channel description |
memberCount | number | Number of members in the supergroup or channel; 0 if unknown |
administratorCount | number | Number of privileged users in the supergroup or channel; 0 if unknown |
restrictedCount | number | Number of restricted users in the supergroup; 0 if unknown |
bannedCount | number | Number of users banned from chat; 0 if unknown |
linkedChatId | number | 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 |
slowModeDelay | number | Delay between consecutive sent messages for non-administrator supergroup members, in seconds |
slowModeDelayExpiresIn | number | 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 |
canGetMembers | boolean | True, if members of the chat can be retrieved |
canSetUsername | boolean | True, if the chat username can be changed |
canSetStickerSet | boolean | True, if the supergroup sticker set can be changed |
canSetLocation | boolean | True, if the supergroup location can be changed |
canGetStatistics | boolean | True, if the supergroup or channel statistics are available |
isAllHistoryAvailable | boolean | 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 |
stickerSetId | string | Identifier of the supergroup sticker set; 0 if none |
location | Location to which the supergroup is connected; may be null | |
inviteLink | Primary invite link for this chat; may be null. For chat administrators with can_invite_users right only | |
botCommands | List of commands of bots in the group | |
upgradedFromBasicGroupId | number | Identifier of the basic group from which supergroup was upgraded; 0 if none |
upgradedFromMaxMessageId | number | Identifier of the last message in the basic group from which supergroup was upgraded; 0 if none |