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)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
revoked | true | Nein | If set, leaves the bot's affiliate program |
peer | InputPeer | Ja | The peer that was affiliated |
link | string | Ja | The affiliate link to revoke |
Antworten
payments.ConnectedStarRefBots
MTProto RPC
- 400 · STARREF_HASH_REVOKED — Der angegebene Affiliate-Link wurde bereits widerrufen.