Point in time (Unix timestamp) when the code was created.
Identifier of a chat or a user that created the gift code; may be null if unknown. If null and the code is from messagePremiumGiftCode message, then creator_id from the message can be used.
Identifier of the corresponding giveaway message in the creator_id chat; can be 0 or an identifier of a deleted message.
Optional
is_True, if the gift code was created for a giveaway.
Number of months the Telegram Premium subscription will be active after code activation.
Point in time (Unix timestamp) when the code was activated; 0 if none.
Identifier of a user for which the code was created; 0 if none.
Contains information about a Telegram Premium gift code.