payments.CheckedGiftCode#
- class pyrogram.raw.types.payments.CheckedGiftCode#
Contains info about a Telegram Premium giftcode link.
Constructor of
CheckedGiftCode.- Details:
Layer:
220ID:
EB983F8F
- Parameters:
date (
int32-bit) – Creation date of the gift code.days (
int32-bit) – N/Achats (List of
Chat) – Mentioned chatsusers (List of
User) – Mentioned usersvia_giveaway (
bool, optional) – Whether this giftcode was created by a giveaway.from_id (
Peer, optional) – The peer that created the gift code.giveaway_msg_id (
int32-bit, optional) – Message ID of the giveaway in the channel specified in from_id.to_id (
int64-bit, optional) – The destination user of the gift.used_date (
int32-bit, optional) – When was the giftcode imported, if it was imported.
- Functions:
This object can be returned by 1 function.
Obtain information about a Telegram Premium giftcode