GiveawayCompleted¶
- class telegram.GiveawayCompleted(winner_count, unclaimed_prize_count=None, giveaway_message=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
This object represents a service message about the completion of a giveaway without public winners.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
winner_count
andunclaimed_prize_count
are equal.Available In
New in version 20.8.
- Parameters:
winner_count (
int
) – Number of winners in the giveawayunclaimed_prize_count (
int
, optional) – Number of undistributed prizesgiveaway_message (
telegram.Message
, optional) – Message with the giveaway that was completed, if it wasn’t deleted
- giveaway_message[source]¶
Optional. Message with the giveaway that was completed, if it wasn’t deleted
- Type: