payments.GetStarsRevenueAdsAccountUrl#

class pyrogram.raw.functions.payments.GetStarsRevenueAdsAccountUrl#

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.

Details:
  • Layer: 187

  • ID: D1D7EFC5

Parameters:

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

Returns:

payments.StarsRevenueAdsAccountUrl