haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SearchPublicMessagesByTag

Synopsis

Documentation

data SearchPublicMessagesByTag Source #

Searches for public channel posts containing the given hashtag or cashtag. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit. Returns FoundMessages

Constructors

SearchPublicMessagesByTag 

Fields

  • tag :: Maybe Text

    Hashtag or cashtag to search for

  • offset :: Maybe Text

    Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results

  • limit :: Maybe Int

    The maximum number of messages to be returned; up to 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit