MadelineProto/docs/TD_docs/methods/openChat.md
2017-08-25 14:43:29 +02:00

23 lines
698 B
Markdown

---
title: openChat
description: Chat is opened by the user. Many useful activities depends on chat being opened or closed. For example, in channels all updates are received only for opened chats
---
## Method: openChat
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Chat is opened by the user. Many useful activities depends on chat being opened or closed. For example, in channels all updates are received only for opened chats
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier|
### Return type: [Ok](../types/Ok.md)