mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 21:26:55 +01:00
23 lines
698 B
Markdown
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)
|
|
|