Skip to content

messageActionGiftCode

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 —
via_giveaway flags.0?true flags.0 —
unclaimed flags.5?true flags.5 —
boost_peer flags.1?Peer flags.1 —
days int — —
slug string — —
currency flags.2?string flags.2 —
amount flags.2?long flags.2 —
crypto_currency flags.3?string flags.3 —
crypto_amount flags.3?long flags.3 —
message flags.4?TextWithEntities flags.4 —
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.

MessageAction

Schema sources