25 lines
1.0 KiB
Markdown
25 lines
1.0 KiB
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
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|from\_message\_id|[CLICK ME int53](../types/int53.md) | Yes|Identifier of the message from which to search, you can use 0 to get results from beginning|
|
|
|limit|[CLICK ME 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|[CLICK ME Bool](../types/Bool.md) | Yes|If true, return only messages with missed calls|
|
|
|
|
|
|
### Return type: [Messages](../types/Messages.md)
|
|
|