messageService
messageService
Section titled “messageService”No description provided by the pinned schema.
Signature
Section titled “Signature”messageService#7a800e0a flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true reactions_are_possible:flags.9?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer saved_peer_id:flags.28?Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction reactions:flags.20?MessageReactions ttl_period:flags.25?int = Message;Result type
Section titled “Result type”Message
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | No description provided by the pinned schema. |
| out | flags.1?true | flags.1 | — | No description provided by the pinned schema. |
| mentioned | flags.4?true | flags.4 | — | No description provided by the pinned schema. |
| media_unread | flags.5?true | flags.5 | — | No description provided by the pinned schema. |
| reactions_are_possible | flags.9?true | flags.9 | — | No description provided by the pinned schema. |
| silent | flags.13?true | flags.13 | — | No description provided by the pinned schema. |
| post | flags.14?true | flags.14 | — | No description provided by the pinned schema. |
| legacy | flags.19?true | flags.19 | — | No description provided by the pinned schema. |
| id | int | — | — | No description provided by the pinned schema. |
| from_id | flags.8?Peer | flags.8 | — | No description provided by the pinned schema. |
| peer_id | Peer | — | — | No description provided by the pinned schema. |
| saved_peer_id | flags.28?Peer | flags.28 | — | No description provided by the pinned schema. |
| reply_to | flags.3?MessageReplyHeader | flags.3 | — | No description provided by the pinned schema. |
| date | int | — | — | No description provided by the pinned schema. |
| action | MessageAction | — | — | No description provided by the pinned schema. |
| reactions | flags.20?MessageReactions | flags.20 | — | No description provided by the pinned schema. |
| ttl_period | flags.25?int | flags.25 | — | No description provided by the pinned schema. |
| Parameter | Bit | Meaning |
|---|---|---|
| out | 1 | Controlled by flags; present when this bit is set. |
| mentioned | 4 | Controlled by flags; present when this bit is set. |
| media_unread | 5 | Controlled by flags; present when this bit is set. |
| reactions_are_possible | 9 | Controlled by flags; present when this bit is set. |
| silent | 13 | Controlled by flags; present when this bit is set. |
| post | 14 | Controlled by flags; present when this bit is set. |
| legacy | 19 | Controlled by flags; present when this bit is set. |
| from_id | 8 | Controlled by flags; present when this bit is set. |
| saved_peer_id | 28 | Controlled by flags; present when this bit is set. |
| reply_to | 3 | Controlled by flags; present when this bit is set. |
| reactions | 20 | Controlled by flags; present when this bit is set. |
| ttl_period | 25 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import MessageServicePublic access: miniproto.raw.types.MessageService.
Safe usage shape
Section titled “Safe usage shape”from miniproto.raw.types import MessageService
# Naming the raw constructor class is local only; it performs no I/O or network request.constructor_type = MessageServiceResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
Message - Related constructors:
message,messageEmpty - Accepted by:
channelAdminLogEventActionDeleteMessage,channelAdminLogEventActionEditMessage,channelAdminLogEventActionSendMessage,channelAdminLogEventActionStopPoll,channelAdminLogEventActionUpdatePinned,messages.channelMessages,messages.dialogs,messages.dialogsSlice,messages.discussionMessage,messages.forumTopics,messages.messages,messages.messagesSlice,messages.peerDialogs,messages.quickReplies,messages.savedDialogs,messages.savedDialogsSlice,messages.searchResultsCalendar,publicForwardMessage,storyReactionPublicForward,storyViewPublicForward,updateBotEditBusinessMessage,updateBotGuestChatQuery,updateBotNewBusinessMessage,updateBusinessBotCallbackQuery,updateEditChannelMessage,updateEditMessage,updateNewChannelMessage,updateNewMessage,updateNewScheduledMessage,updateQuickReplyMessage,updates.channelDifference,updates.channelDifferenceTooLong,updates.difference,updates.differenceSlice
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