Skip to content

searchOutgoingDocumentMessages

Function · TDLib 1.8.67 · d1085f9c

Searches for outgoing messages with content of the type messageDocument in all chats except secret chats. Returns the results in reverse chronological order

searchOutgoingDocumentMessages(
  query: string,
  limit: int32
) → FoundMessages

query

string

Query to search for in document file name and message caption

limit

int32

The maximum number of messages to be returned; up to 100