mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 02:26:55 +01:00
23 lines
568 B
Markdown
23 lines
568 B
Markdown
---
|
|
title: getChat
|
|
description: Returns information about a chat by its identifier, offline request if current user is not a bot
|
|
---
|
|
## Method: getChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Returns information about a chat by its identifier, offline request if current user is not a bot
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier|
|
|
|
|
|
|
### Return type: [Chat](../types/Chat.md)
|
|
|