MadelineProto/docs/TD_docs/methods/getMessages.md
2017-08-25 15:05:53 +02:00

24 lines
746 B
Markdown

---
title: getMessages
description: Returns information about messages. If message is not found, returns null on the corresponding position of the result
---
## Method: getMessages
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns information about messages. If message is not found, returns null on the corresponding position of the result
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Identifier of the chat, messages belongs to|
|message\_ids|Array of [int53](../types/int53.md) | Yes|Identifiers of the messages to get|
### Return type: [Messages](../types/Messages.md)