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 captionlimit
- The maximum number of messages to be returned; up to 100client_id
- The client id to send the request to