search_outgoing_document_messages

Function search_outgoing_document_messages 

Source
pub async fn search_outgoing_document_messages(
    query: String,
    limit: i32,
    client_id: i32,
) -> Result<FoundMessages, Error>
Expand description

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

ยงArguments

  • query - Query to search for in document file name and message caption
  • limit - The maximum number of messages to be returned; up to 100
  • client_id - The client id to send the request to