telegram api constructor · layer 229 · #eb983f8f

payments.checkedGiftCode

Contains info about a Telegram Premium giftcode link.

definition

payments.checkedGiftCode#eb983f8f flags:# via_giveaway:flags.2?true from_id:flags.4?Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int days:int used_date:flags.1?int chats:Vector<Chat> users:Vector<User> = payments.CheckedGiftCode;

parameters

nametypedescription
flags#Flags, see TL conditional fields
via_giveawayflags.2?trueWhether this giftcode was created by a giveaway.
from_idflags.4?PeerThe peer that created the gift code.
giveaway_msg_idflags.3?intMessage ID of the giveaway in the channel specified in from_id.
to_idflags.0?longThe destination user of the gift.
dateintCreation date of the gift code.
daysint
used_dateflags.1?intWhen was the giftcode imported, if it was imported.
chatsVector<Chat>Mentioned chats
usersVector<User>Mentioned users

type

payments.CheckedGiftCode

history

present in layers 166–229 · constructor id changed 2×

idlayers
#b722f158166–167
#284a1096168–216
#eb983f8f217–229