Module tdlight.api

Class TdApi.SearchOutgoingDocumentMessages

Enclosing class:
TdApi

public static final class TdApi.SearchOutgoingDocumentMessages extends TdApi.Function<TdApi.FoundMessages>
Searches for outgoing messages with content of the type messageDocument in all chats except secret chats. Returns the results in reverse chronological order. Returns FoundMessages
  • Field Details

    • query

      public String query
      Query to search for in document file name and message caption.
    • limit

      public int limit
      The maximum number of messages to be returned; up to 100.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SearchOutgoingDocumentMessages

      public SearchOutgoingDocumentMessages()
      Searches for outgoing messages with content of the type messageDocument in all chats except secret chats. Returns the results in reverse chronological order. Returns FoundMessages
    • SearchOutgoingDocumentMessages

      public SearchOutgoingDocumentMessages(String query, int limit)
      Searches for outgoing messages with content of the type messageDocument in all chats except secret chats. Returns the results in reverse chronological order. Returns FoundMessages
      Parameters:
      query - String Query to search for in document file name and message caption.
      limit - int The maximum number of messages to be returned; up to 100.
    • SearchOutgoingDocumentMessages

      public SearchOutgoingDocumentMessages(DataInput input) throws IOException
      Searches for outgoing messages with content of the type messageDocument in all chats except secret chats. Returns the results in reverse chronological order. Returns FoundMessages
      Throws:
      IOException
  • Method Details