chat
No description provided by the pinned schema.
Signature
Section titled “Signature”chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = 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. |
| deactivated | flags.5?true | flags.5 | — | 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. |
| noforwards | flags.25?true | flags.25 | — | No description provided by the pinned schema. |
| id | long | — | — | No description provided by the pinned schema. |
| title | string | — | — | No description provided by the pinned schema. |
| photo | ChatPhoto | — | — | No description provided by the pinned schema. |
| participants_count | int | — | — | No description provided by the pinned schema. |
| date | int | — | — | No description provided by the pinned schema. |
| version | int | — | — | No description provided by the pinned schema. |
| migrated_to | flags.6?InputChannel | flags.6 | — | No description provided by the pinned schema. |
| admin_rights | flags.14?ChatAdminRights | flags.14 | — | No description provided by the pinned schema. |
| default_banned_rights | flags.18?ChatBannedRights | flags.18 | — | 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. |
| deactivated | 5 | 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. |
| noforwards | 25 | Controlled by flags; present when this bit is set. |
| migrated_to | 6 | Controlled by flags; present when this bit is set. |
| admin_rights | 14 | Controlled by flags; present when this bit is set. |
| default_banned_rights | 18 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import ChatPublic access: miniproto.raw.types.Chat.
Safe usage shape
Section titled “Safe usage shape”from miniproto.raw.types import Chat
# Naming the raw constructor class is local only; it performs no I/O or network request.constructor_type = ChatResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
Chat - Related constructors:
channel,channelForbidden,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