--- title: closeChat description: Chat is closed by the user. Many useful activities depends on chat being opened or closed. --- ## Method: closeChat [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Chat is closed by the user. Many useful activities depends on chat being opened or closed. ### Params: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |chat\_id|[int53](../types/int53.md) | Yes|Chat identifier| ### Return type: [Ok](../types/Ok.md)