get_giveaway_info()¶
- async Client.get_giveaway_info()¶
Get status and winners information of a Telegram Giveaway.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Target channel/chat ID where the giveaway message was posted.message_id (
int) – Giveaway message identifier.
- Returns:
GiveawayInfo– Giveaway info object.
Example
info = await app.get_giveaway_info(channel_id, 123)