Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data MessageReadDate Source #
Describes read date of a recent outgoing message in a private chat
MessageReadDateRead | Contains read date of the message |
MessageReadDateUnread | The message is unread yet |
MessageReadDateTooOld | The message is too old to get read date |
MessageReadDateUserPrivacyRestricted | The read date is unknown due to privacy settings of the other user |
MessageReadDateMyPrivacyRestricted | The read date is unknown due to privacy settings of the current user, but will be known if the user subscribes to Telegram Premium |
Instances
FromJSON MessageReadDate Source # | |
Defined in TD.Data.MessageReadDate parseJSON :: Value -> Parser MessageReadDate # parseJSONList :: Value -> Parser [MessageReadDate] # | |
Show MessageReadDate Source # | |
Defined in TD.Data.MessageReadDate showsPrec :: Int -> MessageReadDate -> ShowS # show :: MessageReadDate -> String # showList :: [MessageReadDate] -> ShowS # | |
Eq MessageReadDate Source # | |
Defined in TD.Data.MessageReadDate (==) :: MessageReadDate -> MessageReadDate -> Bool # (/=) :: MessageReadDate -> MessageReadDate -> Bool # | |
ShortShow MessageReadDate Source # | |
Defined in TD.Data.MessageReadDate shortShow :: MessageReadDate -> String Source # |