TDLib v0.0.2 TDLib.Method.SearchSecretMessages View Source
Searches for messages in secret chats. Returns the results in reverse chronological order.
Returns object_ptr
| Name | Type | Description |
|---|---|---|
| chat_id | string | Identifier of the chat in which to search. Specify 0 to search in all secret chats. |
| query | string | Query to search for. If empty, searchChatMessages should be used instead. |
| from_search_id | string | The identifier from the result of a previous request, use 0 to get results from the beginning. |
| limit | number | Maximum number of messages to be returned; up to 100. |
| filter | SearchMessagesFilter | A filter for the content of messages in the search results. |
More details on telegram’s documentation.