channel
channel
Section titled “channel”No description provided by the pinned schema.
Signature
Section titled “Signature”channel#d49f34c6 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true autotranslation:flags2.15?true broadcast_messages_allowed:flags2.16?true monoforum:flags2.17?true forum_tabs:flags2.19?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?RecentStory color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int bot_verification_icon:flags2.13?long send_paid_messages_stars:flags2.14?long linked_monoforum_id:flags2.18?long linked_community_id:flags2.20?long = Chat;Result type
Section titled “Result type”Chat
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | No description provided by the pinned schema. |
| creator | flags.0?true | flags.0 | — | No description provided by the pinned schema. |
| left | flags.2?true | flags.2 | — | No description provided by the pinned schema. |
| broadcast | flags.5?true | flags.5 | — | No description provided by the pinned schema. |
| verified | flags.7?true | flags.7 | — | No description provided by the pinned schema. |
| megagroup | flags.8?true | flags.8 | — | No description provided by the pinned schema. |
| restricted | flags.9?true | flags.9 | — | No description provided by the pinned schema. |
| signatures | flags.11?true | flags.11 | — | No description provided by the pinned schema. |
| min | flags.12?true | flags.12 | — | No description provided by the pinned schema. |
| scam | flags.19?true | flags.19 | — | No description provided by the pinned schema. |
| has_link | flags.20?true | flags.20 | — | No description provided by the pinned schema. |
| has_geo | flags.21?true | flags.21 | — | No description provided by the pinned schema. |
| slowmode_enabled | flags.22?true | flags.22 | — | No description provided by the pinned schema. |
| call_active | flags.23?true | flags.23 | — | No description provided by the pinned schema. |
| call_not_empty | flags.24?true | flags.24 | — | No description provided by the pinned schema. |
| fake | flags.25?true | flags.25 | — | No description provided by the pinned schema. |
| gigagroup | flags.26?true | flags.26 | — | No description provided by the pinned schema. |
| noforwards | flags.27?true | flags.27 | — | No description provided by the pinned schema. |
| join_to_send | flags.28?true | flags.28 | — | No description provided by the pinned schema. |
| join_request | flags.29?true | flags.29 | — | No description provided by the pinned schema. |
| forum | flags.30?true | flags.30 | — | No description provided by the pinned schema. |
| flags2 | # | flag word | — | No description provided by the pinned schema. |
| stories_hidden | flags2.1?true | flags2.1 | — | No description provided by the pinned schema. |
| stories_hidden_min | flags2.2?true | flags2.2 | — | No description provided by the pinned schema. |
| stories_unavailable | flags2.3?true | flags2.3 | — | No description provided by the pinned schema. |
| signature_profiles | flags2.12?true | flags2.12 | — | No description provided by the pinned schema. |
| autotranslation | flags2.15?true | flags2.15 | — | No description provided by the pinned schema. |
| broadcast_messages_allowed | flags2.16?true | flags2.16 | — | No description provided by the pinned schema. |
| monoforum | flags2.17?true | flags2.17 | — | No description provided by the pinned schema. |
| forum_tabs | flags2.19?true | flags2.19 | — | No description provided by the pinned schema. |
| id | long | — | — | No description provided by the pinned schema. |
| access_hash | flags.13?long | flags.13 | — | No description provided by the pinned schema. |
| title | string | — | — | No description provided by the pinned schema. |
| username | flags.6?string | flags.6 | — | No description provided by the pinned schema. |
| photo | ChatPhoto | — | — | No description provided by the pinned schema. |
| date | int | — | — | No description provided by the pinned schema. |
| restriction_reason | flags.9?Vector | flags.9 | — | No description provided by the pinned schema. |
| admin_rights | flags.14?ChatAdminRights | flags.14 | — | No description provided by the pinned schema. |
| banned_rights | flags.15?ChatBannedRights | flags.15 | — | No description provided by the pinned schema. |
| default_banned_rights | flags.18?ChatBannedRights | flags.18 | — | No description provided by the pinned schema. |
| participants_count | flags.17?int | flags.17 | — | No description provided by the pinned schema. |
| usernames | flags2.0?Vector | flags2.0 | — | No description provided by the pinned schema. |
| stories_max_id | flags2.4?RecentStory | flags2.4 | — | No description provided by the pinned schema. |
| color | flags2.7?PeerColor | flags2.7 | — | No description provided by the pinned schema. |
| profile_color | flags2.8?PeerColor | flags2.8 | — | No description provided by the pinned schema. |
| emoji_status | flags2.9?EmojiStatus | flags2.9 | — | No description provided by the pinned schema. |
| level | flags2.10?int | flags2.10 | — | No description provided by the pinned schema. |
| subscription_until_date | flags2.11?int | flags2.11 | — | No description provided by the pinned schema. |
| bot_verification_icon | flags2.13?long | flags2.13 | — | No description provided by the pinned schema. |
| send_paid_messages_stars | flags2.14?long | flags2.14 | — | No description provided by the pinned schema. |
| linked_monoforum_id | flags2.18?long | flags2.18 | — | No description provided by the pinned schema. |
| linked_community_id | flags2.20?long | flags2.20 | — | No description provided by the pinned schema. |
| Parameter | Bit | Meaning |
|---|---|---|
| creator | 0 | Controlled by flags; present when this bit is set. |
| left | 2 | Controlled by flags; present when this bit is set. |
| broadcast | 5 | Controlled by flags; present when this bit is set. |
| verified | 7 | Controlled by flags; present when this bit is set. |
| megagroup | 8 | Controlled by flags; present when this bit is set. |
| restricted | 9 | Controlled by flags; present when this bit is set. |
| signatures | 11 | Controlled by flags; present when this bit is set. |
| min | 12 | Controlled by flags; present when this bit is set. |
| scam | 19 | Controlled by flags; present when this bit is set. |
| has_link | 20 | Controlled by flags; present when this bit is set. |
| has_geo | 21 | Controlled by flags; present when this bit is set. |
| slowmode_enabled | 22 | Controlled by flags; present when this bit is set. |
| call_active | 23 | Controlled by flags; present when this bit is set. |
| call_not_empty | 24 | Controlled by flags; present when this bit is set. |
| fake | 25 | Controlled by flags; present when this bit is set. |
| gigagroup | 26 | Controlled by flags; present when this bit is set. |
| noforwards | 27 | Controlled by flags; present when this bit is set. |
| join_to_send | 28 | Controlled by flags; present when this bit is set. |
| join_request | 29 | Controlled by flags; present when this bit is set. |
| forum | 30 | Controlled by flags; present when this bit is set. |
| stories_hidden | 1 | Controlled by flags2; present when this bit is set. |
| stories_hidden_min | 2 | Controlled by flags2; present when this bit is set. |
| stories_unavailable | 3 | Controlled by flags2; present when this bit is set. |
| signature_profiles | 12 | Controlled by flags2; present when this bit is set. |
| autotranslation | 15 | Controlled by flags2; present when this bit is set. |
| broadcast_messages_allowed | 16 | Controlled by flags2; present when this bit is set. |
| monoforum | 17 | Controlled by flags2; present when this bit is set. |
| forum_tabs | 19 | Controlled by flags2; present when this bit is set. |
| access_hash | 13 | Controlled by flags; present when this bit is set. |
| username | 6 | Controlled by flags; present when this bit is set. |
| restriction_reason | 9 | Controlled by flags; present when this bit is set. |
| admin_rights | 14 | Controlled by flags; present when this bit is set. |
| banned_rights | 15 | Controlled by flags; present when this bit is set. |
| default_banned_rights | 18 | Controlled by flags; present when this bit is set. |
| participants_count | 17 | Controlled by flags; present when this bit is set. |
| usernames | 0 | Controlled by flags2; present when this bit is set. |
| stories_max_id | 4 | Controlled by flags2; present when this bit is set. |
| color | 7 | Controlled by flags2; present when this bit is set. |
| profile_color | 8 | Controlled by flags2; present when this bit is set. |
| emoji_status | 9 | Controlled by flags2; present when this bit is set. |
| level | 10 | Controlled by flags2; present when this bit is set. |
| subscription_until_date | 11 | Controlled by flags2; present when this bit is set. |
| bot_verification_icon | 13 | Controlled by flags2; present when this bit is set. |
| send_paid_messages_stars | 14 | Controlled by flags2; present when this bit is set. |
| linked_monoforum_id | 18 | Controlled by flags2; present when this bit is set. |
| linked_community_id | 20 | Controlled by flags2; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import ChannelPublic access: miniproto.raw.types.Channel.
Safe usage shape
Section titled “Safe usage shape”from miniproto.raw.types import Channel
# Naming the raw constructor class is local only; it performs no I/O or network request.constructor_type = ChannelResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
Chat - Related constructors:
channelForbidden,chat,chatEmpty,chatForbidden,community,communityForbidden - Accepted by:
account.autoSaveSettings,account.businessChatLinks,account.chatThemes,account.privacyRules,account.resolvedBusinessChatLinks,channels.adminLogResults,channels.channelParticipant,channels.channelParticipants,channels.sendAsPeers,chatInviteAlready,chatInvitePeek,chatlists.chatlistInvite,chatlists.chatlistInviteAlready,chatlists.chatlistUpdates,chatlists.exportedInvites,communities.participantJoinedChats,communities.peerLinkRequests,contacts.blocked,contacts.blockedSlice,contacts.found,contacts.resolvedPeer,contacts.sponsoredPeers,contacts.topPeers,help.promoData,help.recentMeUrls,messages.channelMessages,messages.chatFull,messages.chats,messages.chatsSlice,messages.dialogs,messages.dialogsSlice,messages.discussionMessage,messages.forumTopics,messages.inactiveChats,messages.messageReactionsList,messages.messageViews,messages.messages,messages.messagesSlice,messages.peerDialogs,messages.peerSettings,messages.quickReplies,messages.savedDialogs,messages.savedDialogsSlice,messages.searchResultsCalendar,messages.sponsoredMessages,messages.votesList,messages.webPage,messages.webPagePreview,pageBlockChannel,payments.checkedGiftCode,payments.resaleStarGifts,payments.savedStarGifts,payments.starGiftActiveAuctions,payments.starGiftAuctionAcquiredGifts,payments.starGiftAuctionState,payments.starGifts,payments.starsStatus,payments.uniqueStarGift,phone.groupCall,phone.groupCallStars,phone.groupParticipants,phone.joinAsPeers,premium.myBoosts,stats.publicForwards,stories.allStories,stories.foundStories,stories.peerStories,stories.stories,stories.storyReactionsList,stories.storyViewsList,updates,updates.channelDifference,updates.channelDifferenceTooLong,updates.difference,updates.differenceSlice,updatesCombined,users.userFull
Provenance
Section titled “Provenance”- layer: 228
- structural source:
tdlib - canonical schema: https://raw.githubusercontent.com/tdlib/td/refs/heads/master/td/generate/scheme/telegram_api.tl
- prose merge precedence: TDLib → Telegram Desktop → Core JSON
- source note: Canonical structure is the pinned TDLib telegram_api.tl; Layer 228 comes only from the matching Telegram Desktop end-of-file marker; core.telegram.org inputs enrich documentation and RPC error metadata without overriding structure.
Source-diff notes
Section titled “Source-diff notes”- tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
- tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery