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 | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Channel or bot that owns the stars. |
Responses
payments.StarsRevenueAdsAccountUrl
MTProto RPC
- 403 · CHAT_WRITE_FORBIDDEN — You can't write in this chat.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.