Skip to content

sponsoredMessage

No description provided by the pinned schema.

sponsoredMessage#7dbf8673 flags:# recommended:flags.5?true can_report:flags.12?true random_id:bytes url:string title:string message:string entities:flags.1?Vector<MessageEntity> photo:flags.6?Photo media:flags.14?MessageMedia color:flags.13?PeerColor button_text:string sponsor_info:flags.7?string additional_info:flags.8?string min_display_duration:flags.15?int max_display_duration:flags.15?int = SponsoredMessage;

SponsoredMessage

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
recommended flags.5?true flags.5 — No description provided by the pinned schema.
can_report flags.12?true flags.12 — No description provided by the pinned schema.
random_id bytes — — No description provided by the pinned schema.
url string — — No description provided by the pinned schema.
title string — — No description provided by the pinned schema.
message string — — No description provided by the pinned schema.
entities flags.1?Vector flags.1 — No description provided by the pinned schema.
photo flags.6?Photo flags.6 — No description provided by the pinned schema.
media flags.14?MessageMedia flags.14 — No description provided by the pinned schema.
color flags.13?PeerColor flags.13 — No description provided by the pinned schema.
button_text string — — No description provided by the pinned schema.
sponsor_info flags.7?string flags.7 — No description provided by the pinned schema.
additional_info flags.8?string flags.8 — No description provided by the pinned schema.
min_display_duration flags.15?int flags.15 — No description provided by the pinned schema.
max_display_duration flags.15?int flags.15 — No description provided by the pinned schema.
Parameter Bit Meaning
recommended 5 Controlled by flags; present when this bit is set.
can_report 12 Controlled by flags; present when this bit is set.
entities 1 Controlled by flags; present when this bit is set.
photo 6 Controlled by flags; present when this bit is set.
media 14 Controlled by flags; present when this bit is set.
color 13 Controlled by flags; present when this bit is set.
sponsor_info 7 Controlled by flags; present when this bit is set.
additional_info 8 Controlled by flags; present when this bit is set.
min_display_duration 15 Controlled by flags; present when this bit is set.
max_display_duration 15 Controlled by flags; present when this bit is set.
from miniproto.raw.types import SponsoredMessage

Public access: miniproto.raw.types.SponsoredMessage.

from miniproto.raw.types import SponsoredMessage
# Refer to the raw constructor class without constructing it or calling Telegram
constructor_type = SponsoredMessage

SponsoredMessage

  • tdlib_vs_core: changed_count=77; core_only_count=18; overlap_count=2338; tdlib_only_count=307
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2634; tdesktop_only=null; tdlib_only=accessPointRule, bots.setBotSettings, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret