MessageActionGiveawayResults

class pyrogram.raw.types.MessageActionGiveawayResults

A giveaway has ended.

Constructor of MessageAction.

Details:
  • Layer: 223

  • ID: 87E2F155

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

  • unclaimed_count (int 32-bit) – Number of undistributed prizes

  • stars (bool, optional) – If set, this is a Telegram Star giveaway

TL Schema

messageActionGiveawayResults#87e2f155
flags:#
stars:flags.0?true
winners_count:int
unclaimed_count:int

= MessageAction

Parameter Tree

MessageActionGiveawayResults
├── starstrue (optional)
├── winners_countint
└── unclaimed_countint

Example

MessageActionGiveawayResults(
    winners_count=0,
    unclaimed_count=0,
)