Delete a chat invite
Method schema is available as of layer 124. Switch »
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Peer |
| link | string | Invite link |
| Code | Type | Description |
|---|---|---|
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 400 | INVITE_HASH_EXPIRED | The invite link has expired. |
| 400 | INVITE_REVOKED_MISSING | The specified invite link was already revoked or is invalid. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |