View Source ExTDLib.Object.MessagePremiumGiftCode (ExTDLib v0.0.4)

A Telegram Premium gift code was created for the user.

NameTypeDescription
creator_idMessageSenderIdentifier of a chat or a user that created the gift code.
is_from_giveawayboolTrue, if the gift code was created for a giveaway.
is_unclaimedboolTrue, if the winner for the corresponding Telegram Premium subscription wasn't chosen.
month_countnumberNumber of month the Telegram Premium subscription will be active after code activation.
stickerstickerA sticker to be shown in the message; may be null if unknown.
codestringThe gift code.

More details on telegram's documentation.