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:
223ID:
394E7F21
- Parameters:
url (
str) – URL to open.
- Functions:
This object can be returned by 1 function.
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.
TL Schema
payments.starsRevenueAdsAccountUrl#394e7f21
url:string
= payments.StarsRevenueAdsAccountUrl
Parameter Tree
StarsRevenueAdsAccountUrl
└── url →
stringExample
StarsRevenueAdsAccountUrl(
url="https://google.com",
)