haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SearchOutgoingDocumentMessages

Synopsis

Documentation

data SearchOutgoingDocumentMessages Source #

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

Constructors

SearchOutgoingDocumentMessages 

Fields

  • query :: Maybe Text

    Query to search for in document file name and message caption

  • limit :: Maybe Int

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