launch_prepaid_giveaway()

async Client.launch_prepaid_giveaway()

Launch a previously prepaid giveaway in a channel.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Target channel/chat ID.

  • giveaway_id (int) – Prepaid giveaway identifier.

  • purpose (InputStorePaymentPurpose) – Payment purpose specification.

Returns:

Updates – On success, updates are returned.

Example

await app.launch_prepaid_giveaway(channel_id, giveaway_id, purpose)