Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data PublicChatType Source #
Describes type of public chat
PublicChatTypeHasUsername | The chat is public, because it has an active username |
PublicChatTypeIsLocationBased | The chat is public, because it is a location-based supergroup |
Instances
FromJSON PublicChatType Source # | |
Defined in TD.Data.PublicChatType parseJSON :: Value -> Parser PublicChatType # parseJSONList :: Value -> Parser [PublicChatType] # | |
ToJSON PublicChatType Source # | |
Defined in TD.Data.PublicChatType toJSON :: PublicChatType -> Value # toEncoding :: PublicChatType -> Encoding # toJSONList :: [PublicChatType] -> Value # toEncodingList :: [PublicChatType] -> Encoding # | |
Show PublicChatType Source # | |
Defined in TD.Data.PublicChatType showsPrec :: Int -> PublicChatType -> ShowS # show :: PublicChatType -> String # showList :: [PublicChatType] -> ShowS # | |
Eq PublicChatType Source # | |
Defined in TD.Data.PublicChatType (==) :: PublicChatType -> PublicChatType -> Bool # (/=) :: PublicChatType -> PublicChatType -> Bool # | |
ShortShow PublicChatType Source # | |
Defined in TD.Data.PublicChatType shortShow :: PublicChatType -> String Source # |