Interface SearchOutgoingDocumentMessages

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

interface SearchOutgoingDocumentMessages {
    @type: "searchOutgoingDocumentMessages";
    limit: number;
    query: string;
}

Properties

Properties

@type: "searchOutgoingDocumentMessages"
limit: number

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

query: string

Query to search for in document file name and message caption.