payments.GiveawayInfoResults

class pyrogram.raw.types.payments.GiveawayInfoResults

A giveaway has ended.

Constructor of GiveawayInfo.

Details:
  • Layer: 194

  • ID: E175E66F

Parameters:
  • start_date (int 32-bit) – Start date of the giveaway

  • finish_date (int 32-bit) – End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.

  • winners_count (int 32-bit) – Number of winners in the giveaway

  • winner (bool, optional) – Whether we’re one of the winners of this giveaway.

  • refunded (bool, optional) – Whether the giveaway was canceled and was fully refunded.

  • gift_code_slug (str, optional) – If we’re one of the winners of this giveaway, contains the Premium gift code, see here » for more info on the full giveaway flow.

  • stars_prize (int 64-bit, optional) – N/A

  • activated_count (int 32-bit, optional) – Number of winners, which activated their gift codes.

Functions:

This object can be returned by 1 function.

payments.GetGiveawayInfo

Obtain information about a Telegram Premium giveaway ».