Launch a prepaid giveaway ».
{schema}
Name | Type | Description |
---|---|---|
peer | InputPeer | The peer where to launch the giveaway. |
giveaway_id | long | The prepaid giveaway ID. |
purpose | InputStorePaymentPurpose | Giveway parameters |
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid. |
Telegram channel administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.