telegram api constructor · layer 229 · #a04e8d3a

channelFull

Full info about a channel, supergroup or gigagroup.

definition

channelFull#a04e8d3a flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true paid_reactions_available:flags2.16?true stargifts_available:flags2.19?true paid_messages_available:flags2.20?true has_welcome_messages:flags2.24?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet bot_verification:flags2.17?BotVerification stargifts_count:flags2.18?int send_paid_messages_stars:flags2.21?long main_tab:flags2.22?ProfileTab guard_bot_id:flags2.23?long = ChatFull;

parameters

nametypedescription
flags#Flags, see TL conditional fields
can_view_participantsflags.3?trueCan we view the participant list?
can_set_usernameflags.6?trueCan we set the channel's username?
can_set_stickersflags.7?trueCan we associate a stickerpack to the supergroup?
hidden_prehistoryflags.10?trueIs the history before we joined hidden to us?
can_set_locationflags.16?trueCan we set the geolocation of this group (for geogroups)
has_scheduledflags.19?trueWhether scheduled messages are available
can_view_statsflags.20?trueCan the user view channel/supergroup statistics
blockedflags.22?trueWhether any anonymous admin of this supergroup was blocked: if set, you won't receive messages from anonymous group admins in discussion replies via @replies
flags2#Flags, see TL conditional fields
can_delete_channelflags2.0?trueCan we delete this channel?
antispamflags2.1?trueWhether native antispam functionality is enabled in this supergroup.
participants_hiddenflags2.2?trueWhether the participant list is hidden.
translations_disabledflags2.3?trueWhether the real-time chat translation popup should be hidden.
stories_pinned_availableflags2.5?trueWhether this user has some pinned stories.
view_forum_as_messagesflags2.6?trueUsers 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.
restricted_sponsoredflags2.11?trueWhether ads on this channel were disabled as specified here » (this flag is only visible to the owner of the channel).
can_view_revenueflags2.12?trueIf set, this user can view ad revenue statistics » for this channel.
paid_media_allowedflags2.14?trueWhether the current user can send or forward paid media » to this channel.
can_view_stars_revenueflags2.15?trueIf set, this user can view Telegram Star revenue statistics » for this channel.
paid_reactions_availableflags2.16?trueIf set, users may send paid Telegram Star reactions » to messages of this channel.
stargifts_availableflags2.19?trueIf set, users may send Gifts » to this channel.
paid_messages_availableflags2.20?trueIf set, admins may enable enable paid messages » in this supergroup.
has_welcome_messagesflags2.24?true
idlongID of the channel
aboutstringInfo about the channel
participants_countflags.0?intNumber of participants of the channel
admins_countflags.1?intNumber of channel admins
kicked_countflags.2?intNumber of users kicked from the channel
banned_countflags.2?intNumber of users banned from the channel
online_countflags.13?intNumber of users currently online
read_inbox_max_idintPosition up to which all incoming messages are read.
read_outbox_max_idintPosition up to which all outgoing messages are read.
unread_countintCount of unread messages
chat_photoPhotoChannel picture
notify_settingsPeerNotifySettingsNotification settings
exported_inviteflags.23?ExportedChatInviteInvite link
bot_infoVector<BotInfo>Info about bots in the channel/supergroup
migrated_from_chat_idflags.4?longThe chat ID from which this group was migrated
migrated_from_max_idflags.4?intThe message ID in the original chat at which this group was migrated
pinned_msg_idflags.5?intMessage ID of the last pinned message
stickersetflags.8?StickerSetAssociated stickerset
available_min_idflags.9?intIdentifier of a maximum unavailable message in a channel due to hidden history.
folder_idflags.11?intPeer folder ID, for more info click here
linked_chat_idflags.14?longID of the linked discussion chat for channels (and vice versa, the ID of the linked channel for discussion chats).
locationflags.15?ChannelLocationLocation of the geogroup
slowmode_secondsflags.17?intIf specified, users in supergroups will only be able to send one message every slowmode_seconds seconds
slowmode_next_send_dateflags.18?intIndicates when the user will be allowed to send another message in the supergroup (unixtime)
stats_dcflags.12?intIf set, specifies the DC to use for fetching channel statistics
ptsintLatest PTS for this channel
callflags.21?InputGroupCallLivestream or group call information
ttl_periodflags.24?intTime-To-Live of messages in this channel or supergroup
pending_suggestionsflags.25?Vector<string>A list of suggested actions for the supergroup admin, see here for more info ».
groupcall_default_join_asflags.26?PeerWhen 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.
theme_emoticonflags.27?stringEmoji representing a specific chat theme
requests_pendingflags.28?intPending join requests »
recent_requestersflags.28?Vector<long>IDs of users who requested to join recently
default_send_asflags.29?PeerDefault peer used for sending messages to this channel
available_reactionsflags.30?ChatReactionsAllowed message reactions »
reactions_limitflags2.13?intThis flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appConfig.reactions_uniq_max).
storiesflags2.4?PeerStoriesChannel stories
wallpaperflags2.7?WallPaperWallpaper
boosts_appliedflags2.8?intThe number of boosts the current user has applied to the current supergroup.
boosts_unrestrictflags2.9?intThe number of boosts this supergroup requires to bypass slowmode and other restrictions, see here » for more info.
emojisetflags2.10?StickerSetCustom emoji stickerset associated to the current supergroup, set using channels.setEmojiStickers after reaching the appropriate boost level, see here » for more info.
bot_verificationflags2.17?BotVerificationBot verification icon
stargifts_countflags2.18?intAdmins 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.
send_paid_messages_starsflags2.21?longIf 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.
main_tabflags2.22?ProfileTabThe main tab for the channel's profile, see here » for more info.
guard_bot_idflags2.23?long

type

ChatFull · other constructors: chatFull, communityFull

history

present in layers 46–229 · constructor id changed 30×

idlayers
#9e341ddf46
#c3d5512f62–67
#95cb5f5768–70
#17f45fcf71
#76af548172–90
#1c87a71a91–98
#0364897799
#9882e516100–101
#10916653102–103
#2d895c74104–110
#f0e6672a111–121
#ef3a6acd122
#7a7de4f7123
#2548c037124
#548c3f93125–131
#2f532f3c132
#e9b27a17133
#59cff963134
#56662e2e135
#e13c3d20136–139
#ea68a619140–144
#f2355507145–163
#723027bd164–167
#0f2bcb6f168–173
#44c054a7174–177
#bbab348d178–195
#9ff3b858196–197
#52d6806b198–204
#e07429de205–212
#e4e0b29d213–225
#a04e8d3a226–229