23 lines
556 B
Markdown
23 lines
556 B
Markdown
---
|
|
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|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|