Skip to content

messageMediaGiveaway

No description provided by the pinned schema.

messageMediaGiveaway#aa073beb flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.2?true channels:Vector<long> countries_iso2:flags.1?Vector<string> prize_description:flags.3?string quantity:int months:flags.4?int stars:flags.5?long until_date:int = MessageMedia;

MessageMedia

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
only_new_subscribers flags.0?true flags.0 — No description provided by the pinned schema.
winners_are_visible flags.2?true flags.2 — No description provided by the pinned schema.
channels Vector — — No description provided by the pinned schema.
countries_iso2 flags.1?Vector flags.1 — No description provided by the pinned schema.
prize_description flags.3?string flags.3 — No description provided by the pinned schema.
quantity int — — No description provided by the pinned schema.
months flags.4?int flags.4 — No description provided by the pinned schema.
stars flags.5?long flags.5 — No description provided by the pinned schema.
until_date int — — No description provided by the pinned schema.
Parameter Bit Meaning
only_new_subscribers 0 Controlled by flags; present when this bit is set.
winners_are_visible 2 Controlled by flags; present when this bit is set.
countries_iso2 1 Controlled by flags; present when this bit is set.
prize_description 3 Controlled by flags; present when this bit is set.
months 4 Controlled by flags; present when this bit is set.
stars 5 Controlled by flags; present when this bit is set.
from miniproto.raw.types import MessageMediaGiveaway

Public access: miniproto.raw.types.MessageMediaGiveaway.

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

MessageMedia

  • 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