payments.GetStarsRevenueAdsAccountUrl

class pyrogram.raw.functions.payments.GetStarsRevenueAdsAccountUrl[source]

Returns a URL for a Telegram Ad platform account that can be used to set up advertisements for channel/bot in peer, paid using the Telegram Stars owned by the specified peer, see here » for more info.

Usable by Users Bots
Details:
  • Layer: 229

  • ID: D1D7EFC5

Parameters:

peer (InputPeer) – Channel or bot that owns the stars.

Returns:

payments.StarsRevenueAdsAccountUrl