Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data SearchChatMessages Source #
Searches for messages with given words in the chat. Returns the results in reverse chronological order, i.e. in order of decreasing message_id. Cannot be used in secret chats with a non-empty query (searchSecretMessages must be used instead), or without an enabled message database. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit. A combination of query, sender_id, filter and message_thread_id search criteria is expected to be supported, only if it is required for Telegram official application implementation. Returns FoundChatMessages
SearchChatMessages | |
|
Instances
ToJSON SearchChatMessages Source # | |
Defined in TD.Query.SearchChatMessages toJSON :: SearchChatMessages -> Value # toEncoding :: SearchChatMessages -> Encoding # toJSONList :: [SearchChatMessages] -> Value # toEncodingList :: [SearchChatMessages] -> Encoding # | |
Show SearchChatMessages Source # | |
Defined in TD.Query.SearchChatMessages showsPrec :: Int -> SearchChatMessages -> ShowS # show :: SearchChatMessages -> String # showList :: [SearchChatMessages] -> ShowS # | |
Eq SearchChatMessages Source # | |
Defined in TD.Query.SearchChatMessages (==) :: SearchChatMessages -> SearchChatMessages -> Bool # (/=) :: SearchChatMessages -> SearchChatMessages -> Bool # | |
ShortShow SearchChatMessages Source # | |
Defined in TD.Query.SearchChatMessages shortShow :: SearchChatMessages -> String Source # |