payments.launchPrepaidGiveaway

Launch a prepaid giveaway ».

{schema}

Parameters

Name Type Description
peer InputPeer The peer where to launch the giveaway.
giveaway_id long The prepaid giveaway ID.
purpose InputStorePaymentPurpose Giveway parameters

Result

Updates

Possible errors

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

Related pages

Giveaways

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