View Source ExTDLib.Method.SearchOutgoingDocumentMessages (ExTDLib v0.0.4)
Searches for outgoing messages with content of the type messageDocument in all chats except secret chats. Returns the results in reverse chronological order. Returns object_ptr<FoundMessages>.
| Name | Type | Description |
|---|---|---|
| query | string | Query to search for in document file name and message caption. |
| limit | number | The maximum number of messages to be returned; up to 100. |
More details on telegram's documentation.