messages.deleteChat

Delete a chat

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.deleteChat#5bd0ee50 chat_id:long = Bool;

Parameters

Name Type Description
chat_id long Chat ID

Result

Bool

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Channels

How to handle channels, supergroups, groups, and what's the difference between them.