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.

NameTypeDescription
chat_idstringIdentifier of the chat in which to search. Specify 0 to search in all secret chats.
querystringQuery to search for. If empty, searchChatMessages should be used instead.
from_search_idstringThe identifier from the result of a previous request, use 0 to get results from the beginning.
limitnumberMaximum number of messages to be returned; up to 100.
filterSearchMessagesFilterA filter for the content of messages in the search results.

More details on telegram’s documentation.