payments.StarsRevenueAdsAccountUrl#

class pyrogram.raw.types.payments.StarsRevenueAdsAccountUrl#

Contains a URL leading to a page where the user will be able to place ads for the channel/bot, paying using Telegram Stars.

Constructor of StarsRevenueAdsAccountUrl.

Details:
  • Layer: 187

  • ID: 394E7F21

Parameters:

url (str) – URL to open.

Functions:

This object can be returned by 1 function.

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.