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
CanViewParticipantsbool—Can we view the participant list?
CanSetUsernamebool—Can we set the channel's username?
CanSetStickersbool—Can we associate a stickerpack to the supergroup?
HiddenPrehistorybool—Is the history before we joined hidden to us?
CanSetLocationbool—Can we set the geolocation of this group (for geogroups)
HasScheduledbool—Whether scheduled messages are available
CanViewStatsbool—Can the user view channel/supergroup statistics
Blockedbool—Whether 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
CanDeleteChannelbool—Can we delete this channel?
Antispambool—Whether native antispam functionality is enabled in this supergroup.
ParticipantsHiddenbool—Whether the participant list is hidden.
TranslationsDisabledbool—Whether the real-time chat translation popup should be hidden.
StoriesPinnedAvailablebool—Whether this user has some pinned stories.
ViewForumAsMessagesbool—Users 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.
RestrictedSponsoredbool—Whether ads on this channel were disabled as specified here » (this flag is only visible to the owner of the channel).
CanViewRevenuebool—If set, this user can view ad revenue statistics » for this channel.
PaidMediaAllowedbool—Whether the current user can send or forward paid media » to this channel.
CanViewStarsRevenuebool—If set, this user can view Telegram Star revenue statistics » for this channel.
PaidReactionsAvailablebool—If set, users may send paid Telegram Star reactions » to messages of this channel.
StargiftsAvailablebool—If set, users may send Gifts » to this channel.
PaidMessagesAvailablebool—If set, admins may enable enable paid messages » in this supergroup.
IDint64yesID of the channel
AboutstringyesInfo about the channel
ParticipantsCountint—Number of participants of the channel
AdminsCountint—Number of channel admins
KickedCountint—Number of users kicked from the channel
BannedCountint—Number of users banned from the channel
OnlineCountint—Number 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
ExportedInviteExportedChatInviteClass—Invite link
BotInfo[]BotInfoyesInfo about bots in the channel/supergroup
MigratedFromChatIDint64—The chat ID from which this group was migrated
MigratedFromMaxIDint—The message ID in the original chat at which this group was migrated
PinnedMsgIDint—Message ID of the last pinned message
StickersetStickerSet—Associated stickerset
AvailableMinIDint—Identifier of a maximum unavailable message in a channel due to hidden history.
FolderIDint—Peer folder ID, for more info click here
LinkedChatIDint64—ID of the linked discussion chat for channels (and vice versa, the ID of the linked channel for discussion chats).
LocationChannelLocationClass—Location of the geogroup
SlowmodeSecondsint—If specified, users in supergroups will only be able to send one message every slowmode_seconds seconds
SlowmodeNextSendDateint—Indicates when the user will be allowed to send another message in the supergroup (unixtime)
StatsDCint—If set, specifies the DC to use for fetching channel statistics
PtsintyesLatest PTS for this channel
CallInputGroupCallClass—Livestream or group call information
TTLPeriodint—Time-To-Live of messages in this channel or supergroup
PendingSuggestions[]string—A list of suggested actions for the supergroup admin, see here for more info ».
GroupcallDefaultJoinAsPeerClass—When 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.
ThemeEmoticonstring—Emoji representing a specific chat theme
RequestsPendingint—Pending join requests »
RecentRequesters[]int64—IDs of users who requested to join recently
DefaultSendAsPeerClass—Default peer used for sending messages to this channel
AvailableReactionsChatReactionsClass—Allowed message reactions »
ReactionsLimitint—This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appConfig.reactions_uniq_max).
StoriesPeerStories—Channel stories
WallpaperWallPaperClass—Wallpaper
BoostsAppliedint—The number of boosts the current user has applied to the current supergroup.
BoostsUnrestrictint—The number of boosts this supergroup requires to bypass slowmode and other restrictions, see here » for more info.
EmojisetStickerSet—Custom emoji stickerset associated to the current supergroup, set using channels setEmojiStickers after reaching the appropriate boost level, see here » for more info.
BotVerificationBotVerification—Bot verification icon
StargiftsCountint—Admins 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.
SendPaidMessagesStarsint64—If 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.
MainTabProfileTabClass—The main tab for the channel's profile, see here » for more info.
GuardBotIDint64—GuardBotID field of ChannelFull.

References​