Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data TextParseMode
Documentation
data TextParseMode Source #
Describes the way the text needs to be parsed for text entities
TextParseModeMarkdown | The text uses Markdown-style formatting |
| |
TextParseModeHTML | The text uses HTML-style formatting. The same as Telegram Bot API HTML parse mode |
Instances
FromJSON TextParseMode Source # | |
Defined in TD.Data.TextParseMode parseJSON :: Value -> Parser TextParseMode # parseJSONList :: Value -> Parser [TextParseMode] # | |
ToJSON TextParseMode Source # | |
Defined in TD.Data.TextParseMode toJSON :: TextParseMode -> Value # toEncoding :: TextParseMode -> Encoding # toJSONList :: [TextParseMode] -> Value # toEncodingList :: [TextParseMode] -> Encoding # | |
Show TextParseMode Source # | |
Defined in TD.Data.TextParseMode showsPrec :: Int -> TextParseMode -> ShowS # show :: TextParseMode -> String # showList :: [TextParseMode] -> ShowS # | |
Eq TextParseMode Source # | |
Defined in TD.Data.TextParseMode (==) :: TextParseMode -> TextParseMode -> Bool # (/=) :: TextParseMode -> TextParseMode -> Bool # | |
ShortShow TextParseMode Source # | |
Defined in TD.Data.TextParseMode shortShow :: TextParseMode -> String Source # |