payments.getGiveawayInfo

Obtain information about a Telegram Premium giveaway ».

 Method schema is available as of layer 166. Switch »

Parameters

Name Type Description
peer InputPeer The peer where the giveaway was posted.
msg_id int Message ID of the messageActionGiveawayLaunch service message

Result

payments.GiveawayInfo

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

messageActionGiveawayLaunch

A giveaway was started.

Giveaways

Telegram channel and supergroup administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.