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: 222

  • ID: D1D7EFC5

Parameters:

peer (InputPeer) โ€“ Channel or bot that owns the stars.

Returns:

payments.StarsRevenueAdsAccountUrl