Skip to main content

channelFull

Full info about a channel, supergroup or gigagroup. When updating the local peer database », all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).

type tg.ChannelFull struct { /* ... */ }

Implements ChatFull.

Fields

NameTypeRequiredDescription
CanViewParticipantsboolCan we view the participant list?
CanSetUsernameboolCan we set the channel's username?
CanSetStickersboolCan we associate a stickerpack to the supergroup?
HiddenPrehistoryboolIs the history before we joined hidden to us?
CanSetLocationboolCan we set the geolocation of this group (for geogroups)
HasScheduledboolWhether scheduled messages are available
CanViewStatsboolCan the user view channel/supergroup statistics
BlockedboolWhether any anonymous admin of this supergroup was blocked: if set, you won't receive messages from anonymous group admins » in discussion replies via @replies
Flags2bin.FieldsyesFlags, see TL conditional fields
CanDeleteChannelboolCan we delete this channel?
AntispamboolWhether native antispam functionality is enabled in this supergroup.
ParticipantsHiddenboolWhether the participant list is hidden.
TranslationsDisabledboolWhether the real-time chat translation popup should be hidden.
StoriesPinnedAvailableboolWhether this user has some pinned stories.
ViewForumAsMessagesboolUsers may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a "View as messages" setting in the local client. This setting only affects the current account, and is synced to other logged in sessions using the channels.toggleViewForumAsMessages method; invoking this method will update the value of this flag.
RestrictedSponsoredboolWhether ads on this channel were disabled as specified here » (this flag is only visible to the owner of the channel).
CanViewRevenueboolIf set, this user can view ad revenue statistics » for this channel.
PaidMediaAllowedboolWhether the current user can send or forward paid media » to this channel.
CanViewStarsRevenueboolIf set, this user can view Telegram Star revenue statistics » for this channel.
PaidReactionsAvailableboolIf set, users may send paid Telegram Star reactions » to messages of this channel.
StargiftsAvailableboolIf set, users may send Gifts » to this channel.
PaidMessagesAvailableboolIf set, admins may enable enable paid messages » in this supergroup.
IDint64yesID of the channel
AboutstringyesInfo about the channel
ParticipantsCountintNumber of participants of the channel
AdminsCountintNumber of channel admins
KickedCountintNumber of users kicked from the channel
BannedCountintNumber of users banned from the channel
OnlineCountintNumber of users currently online
ReadInboxMaxIDintyesPosition up to which all incoming messages are read.
ReadOutboxMaxIDintyesPosition up to which all outgoing messages are read.
UnreadCountintyesCount of unread messages
ChatPhotoPhotoClassyesChannel picture
NotifySettingsPeerNotifySettingsyesNotification settings
ExportedInviteExportedChatInviteClassInvite link
BotInfo[]BotInfoyesInfo about bots in the channel/supergroup
MigratedFromChatIDint64The chat ID from which this group was migrated
MigratedFromMaxIDintThe message ID in the original chat at which this group was migrated
PinnedMsgIDintMessage ID of the last pinned message
StickersetStickerSetAssociated stickerset
AvailableMinIDintIdentifier of a maximum unavailable message in a channel due to hidden history.
FolderIDintPeer folder ID, for more info click here
LinkedChatIDint64ID of the linked discussion chat for channels (and vice versa, the ID of the linked channel for discussion chats).
LocationChannelLocationClassLocation of the geogroup
SlowmodeSecondsintIf specified, users in supergroups will only be able to send one message every slowmode_seconds seconds
SlowmodeNextSendDateintIndicates when the user will be allowed to send another message in the supergroup (unixtime)
StatsDCintIf set, specifies the DC to use for fetching channel statistics
PtsintyesLatest PTS for this channel
CallInputGroupCallClassLivestream or group call information
TTLPeriodintTime-To-Live of messages in this channel or supergroup
PendingSuggestions[]stringA list of suggested actions for the supergroup admin, see here for more info ».
GroupcallDefaultJoinAsPeerClassWhen using phone.getGroupCallJoinAs to get a list of peers that can be used to join a group call, this field indicates the peer that should be selected by default.
ThemeEmoticonstringEmoji representing a specific chat theme
RequestsPendingintPending join requests »
RecentRequesters[]int64IDs of users who requested to join recently
DefaultSendAsPeerClassDefault peer used for sending messages to this channel
AvailableReactionsChatReactionsClassAllowed message reactions »
ReactionsLimitintThis flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appConfig.reactions_uniq_max).
StoriesPeerStoriesChannel stories
WallpaperWallPaperClassWallpaper
BoostsAppliedintThe number of boosts the current user has applied to the current supergroup.
BoostsUnrestrictintThe number of boosts this supergroup requires to bypass slowmode and other restrictions, see here » for more info.
EmojisetStickerSetCustom emoji stickerset associated to the current supergroup, set using channels setEmojiStickers after reaching the appropriate boost level, see here » for more info.
BotVerificationBotVerificationBot verification icon
StargiftsCountintAdmins with chatAdminRights.post_messages rights will see the total number of received gifts, everyone else will see the number of gifts added to the channel's profile.
SendPaidMessagesStarsint64If set and bigger than 0, this supergroup, monoforum or the monoforum associated to this channel has enabled paid messages » and we must pay the specified amount of Stars to send messages to it, see here » for the full flow. This flag will be set both for the monoforum and for channelFull of the associated channel). If set and equal to 0, the monoforum requires payment in general but we were exempted from paying.
MainTabProfileTabClassThe main tab for the channel's profile, see here » for more info.
GuardBotIDint64GuardBotID field of ChannelFull.

References