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

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
recommendedflags.5?trueflags.5No description provided by the pinned schema.
can_reportflags.12?trueflags.12No description provided by the pinned schema.
random_idbytesNo description provided by the pinned schema.
urlstringNo description provided by the pinned schema.
titlestringNo description provided by the pinned schema.
messagestringNo description provided by the pinned schema.
entitiesflags.1?Vectorflags.1No description provided by the pinned schema.
photoflags.6?Photoflags.6No description provided by the pinned schema.
mediaflags.14?MessageMediaflags.14No description provided by the pinned schema.
colorflags.13?PeerColorflags.13No description provided by the pinned schema.
button_textstringNo description provided by the pinned schema.
sponsor_infoflags.7?stringflags.7No description provided by the pinned schema.
additional_infoflags.8?stringflags.8No description provided by the pinned schema.
min_display_durationflags.15?intflags.15No description provided by the pinned schema.
max_display_durationflags.15?intflags.15No description provided by the pinned schema.
ParameterBitMeaning
recommended5Controlled by flags; present when this bit is set.
can_report12Controlled by flags; present when this bit is set.
entities1Controlled by flags; present when this bit is set.
photo6Controlled by flags; present when this bit is set.
media14Controlled by flags; present when this bit is set.
color13Controlled by flags; present when this bit is set.
sponsor_info7Controlled by flags; present when this bit is set.
additional_info8Controlled by flags; present when this bit is set.
min_display_duration15Controlled by flags; present when this bit is set.
max_display_duration15Controlled 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
# Naming the raw constructor class is local only; it performs no I/O or network request.
constructor_type = SponsoredMessage

SponsoredMessage

  • 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