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.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | Channel or bot that owns the stars. |
レスポンス
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.