Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ViewMessages = ViewMessages {
- chat_id :: Maybe Int
- message_ids :: Maybe [Int]
- source :: Maybe MessageSource
- force_read :: Maybe Bool
- defaultViewMessages :: ViewMessages
Documentation
data ViewMessages Source #
Informs TDLib that messages are being viewed by the user. Sponsored messages must be marked as viewed only when the entire text of the message is shown on the screen (excluding the button). Many useful activities depend on whether the messages are currently being viewed or not (e.g., marking messages as read, incrementing a view counter, updating a view counter, removing deleted messages in supergroups and channels). Returns Ok
ViewMessages | |
|
Instances
ToJSON ViewMessages Source # | |
Defined in TD.Query.ViewMessages toJSON :: ViewMessages -> Value # toEncoding :: ViewMessages -> Encoding # toJSONList :: [ViewMessages] -> Value # toEncodingList :: [ViewMessages] -> Encoding # | |
Show ViewMessages Source # | |
Defined in TD.Query.ViewMessages showsPrec :: Int -> ViewMessages -> ShowS # show :: ViewMessages -> String # showList :: [ViewMessages] -> ShowS # | |
Eq ViewMessages Source # | |
Defined in TD.Query.ViewMessages (==) :: ViewMessages -> ViewMessages -> Bool # (/=) :: ViewMessages -> ViewMessages -> Bool # | |
ShortShow ViewMessages Source # | |
Defined in TD.Query.ViewMessages shortShow :: ViewMessages -> String Source # |