GiveawayCompleted#

class pyrogram.types.GiveawayCompleted#

This object represents a service message about the completion of a giveaway without public winners.

Parameters:
  • winner_count (int) – Number of winners in the giveaway

  • unclaimed_prize_count (int, optional) – Number of undistributed prizes

  • giveaway_message (Message, optional) – Message with the giveaway that was completed, if it wasn’t deleted

  • is_star_giveaway (bool, optional) – True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.