pollResults
pollResults
Section titled “pollResults”No description provided by the pinned schema.
Signature
Section titled “Signature”pollResults#ba7bb15e flags:# min:flags.0?true has_unread_votes:flags.6?true can_view_stats:flags.7?true results:flags.1?Vector<PollAnswerVoters> total_voters:flags.2?int recent_voters:flags.3?Vector<Peer> solution:flags.4?string solution_entities:flags.4?Vector<MessageEntity> solution_media:flags.5?MessageMedia = PollResults;Result type
Section titled “Result type”PollResults
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | No description provided by the pinned schema. |
| min | flags.0?true | flags.0 | — | No description provided by the pinned schema. |
| has_unread_votes | flags.6?true | flags.6 | — | No description provided by the pinned schema. |
| can_view_stats | flags.7?true | flags.7 | — | No description provided by the pinned schema. |
| results | flags.1?Vector | flags.1 | — | No description provided by the pinned schema. |
| total_voters | flags.2?int | flags.2 | — | No description provided by the pinned schema. |
| recent_voters | flags.3?Vector | flags.3 | — | No description provided by the pinned schema. |
| solution | flags.4?string | flags.4 | — | No description provided by the pinned schema. |
| solution_entities | flags.4?Vector | flags.4 | — | No description provided by the pinned schema. |
| solution_media | flags.5?MessageMedia | flags.5 | — | No description provided by the pinned schema. |
| Parameter | Bit | Meaning |
|---|---|---|
| min | 0 | Controlled by flags; present when this bit is set. |
| has_unread_votes | 6 | Controlled by flags; present when this bit is set. |
| can_view_stats | 7 | Controlled by flags; present when this bit is set. |
| results | 1 | Controlled by flags; present when this bit is set. |
| total_voters | 2 | Controlled by flags; present when this bit is set. |
| recent_voters | 3 | Controlled by flags; present when this bit is set. |
| solution | 4 | Controlled by flags; present when this bit is set. |
| solution_entities | 4 | Controlled by flags; present when this bit is set. |
| solution_media | 5 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import PollResultsPublic access: miniproto.raw.types.PollResults.
Safe usage shape
Section titled “Safe usage shape”from miniproto.raw.types import PollResults
# Naming the raw constructor class is local only; it performs no I/O or network request.constructor_type = PollResultsResult family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
PollResults - Accepted by:
messageMediaPoll,updateMessagePoll
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