payments.editConnectedStarRefBot
Leave a bot's affiliate program »
Leave a bot's [affiliate program »](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
revoked | true | لأ | If set, leaves the bot's affiliate program |
peer | InputPeer | أيوه | The peer that was affiliated |
link | string | أيوه | The affiliate link to revoke |
الردود
payments.ConnectedStarRefBots
MTProto RPC
- 400 · STARREF_HASH_REVOKED — The specified affiliate link was already revoked.