25 lines
1009 B
Markdown
25 lines
1009 B
Markdown
---
|
|
title: searchCallMessages
|
|
description: Searches for call messages. Returns result in reverse chronological order, i. e. in order of decreasing message_id
|
|
---
|
|
## Method: searchCallMessages
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Searches for call messages. Returns result in reverse chronological order, i. e. in order of decreasing message_id
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|from\_message\_id|[int53](../types/int53.md) | Yes|Identifier of the message from which to search, you can use 0 to get results from beginning|
|
|
|limit|[int](../types/int.md) | Yes|Maximum number of messages to be returned, can't be greater than 100. There may be less than limit messages returned even the end of the history is not reached filter|
|
|
|only\_missed|[Bool](../types/Bool.md) | Yes|If true, return only messages with missed calls|
|
|
|
|
|
|
### Return type: [Messages](../types/Messages.md)
|
|
|