| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.PublicChatType
Synopsis
Documentation
data PublicChatType Source #
Describes type of public chat
Constructors
| 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 Methods parseJSON :: Value -> Parser PublicChatType # parseJSONList :: Value -> Parser [PublicChatType] # | |
| ToJSON PublicChatType Source # | |
Defined in TD.Data.PublicChatType Methods toJSON :: PublicChatType -> Value # toEncoding :: PublicChatType -> Encoding # toJSONList :: [PublicChatType] -> Value # toEncodingList :: [PublicChatType] -> Encoding # | |
| Show PublicChatType Source # | |
Defined in TD.Data.PublicChatType Methods showsPrec :: Int -> PublicChatType -> ShowS # show :: PublicChatType -> String # showList :: [PublicChatType] -> ShowS # | |
| Eq PublicChatType Source # | |
Defined in TD.Data.PublicChatType Methods (==) :: PublicChatType -> PublicChatType -> Bool # (/=) :: PublicChatType -> PublicChatType -> Bool # | |
| ShortShow PublicChatType Source # | |
Defined in TD.Data.PublicChatType Methods shortShow :: PublicChatType -> String Source # | |