Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ChatSource
Documentation
data ChatSource Source #
Describes a reason why an external chat is shown in a chat list
ChatSourceMtprotoProxy | The chat is sponsored by the user's MTProxy server |
ChatSourcePublicServiceAnnouncement | The chat contains a public service announcement |
Instances
FromJSON ChatSource Source # | |
Defined in TD.Data.ChatSource parseJSON :: Value -> Parser ChatSource # parseJSONList :: Value -> Parser [ChatSource] # | |
Show ChatSource Source # | |
Defined in TD.Data.ChatSource showsPrec :: Int -> ChatSource -> ShowS # show :: ChatSource -> String # showList :: [ChatSource] -> ShowS # | |
Eq ChatSource Source # | |
Defined in TD.Data.ChatSource (==) :: ChatSource -> ChatSource -> Bool # (/=) :: ChatSource -> ChatSource -> Bool # | |
ShortShow ChatSource Source # | |
Defined in TD.Data.ChatSource shortShow :: ChatSource -> String Source # |