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.
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 »](https://core.telegram.org/api/stars.md#paying-for-ads) for more info.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | Kanal oder Bot, dem die Stars gehören. |
Antworten
payments.StarsRevenueAdsAccountUrl
MTProto RPC
- 403 · CHAT_WRITE_FORBIDDEN — Sie können in diesem Chat nicht schreiben.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.