Delete a chat
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.deleteChat#83247d11 chat_id:int = Bool;
Name | Type | Description |
---|---|---|
chat_id | long | Chat ID |
Code | Type | Description |
---|---|---|
400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
400 | CHAT_ID_INVALID | The provided chat id is invalid. |
400 | PEER_ID_INVALID | The provided peer id is invalid. |
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.