Skip to content

messageActionGiftCode

No description provided by the pinned schema.

messageActionGiftCode#31c48347 flags:# via_giveaway:flags.0?true unclaimed:flags.5?true boost_peer:flags.1?Peer days:int slug:string currency:flags.2?string amount:flags.2?long crypto_currency:flags.3?string crypto_amount:flags.3?long message:flags.4?TextWithEntities = MessageAction;

MessageAction

Name Type Flag Default Description
flags # flag word — No description provided by the pinned schema.
via_giveaway flags.0?true flags.0 — No description provided by the pinned schema.
unclaimed flags.5?true flags.5 — No description provided by the pinned schema.
boost_peer flags.1?Peer flags.1 — No description provided by the pinned schema.
days int — — No description provided by the pinned schema.
slug string — — No description provided by the pinned schema.
currency flags.2?string flags.2 — No description provided by the pinned schema.
amount flags.2?long flags.2 — No description provided by the pinned schema.
crypto_currency flags.3?string flags.3 — No description provided by the pinned schema.
crypto_amount flags.3?long flags.3 — No description provided by the pinned schema.
message flags.4?TextWithEntities flags.4 — No description provided by the pinned schema.
Parameter Bit Meaning
via_giveaway 0 Controlled by flags; present when this bit is set.
unclaimed 5 Controlled by flags; present when this bit is set.
boost_peer 1 Controlled by flags; present when this bit is set.
currency 2 Controlled by flags; present when this bit is set.
amount 2 Controlled by flags; present when this bit is set.
crypto_currency 3 Controlled by flags; present when this bit is set.
crypto_amount 3 Controlled by flags; present when this bit is set.
message 4 Controlled by flags; present when this bit is set.
from miniproto.raw.types import MessageActionGiftCode

Public access: miniproto.raw.types.MessageActionGiftCode.

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

MessageAction

  • 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