telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.Types.ParseMode

Documentation

data ParseMode Source #

Constructors

Markdown 
HTML 
MarkdownV2 

Instances

Instances details
Generic ParseMode Source # 
Instance details

Defined in Telegram.Bot.API.Types.ParseMode

Associated Types

type Rep ParseMode :: Type -> Type #

FromJSON ParseMode Source # 
Instance details

Defined in Telegram.Bot.API.Types.ParseMode

Methods

parseJSON :: Value -> Parser ParseMode

parseJSONList :: Value -> Parser [ParseMode]

ToJSON ParseMode Source # 
Instance details

Defined in Telegram.Bot.API.Types.ParseMode

Methods

toJSON :: ParseMode -> Value

toEncoding :: ParseMode -> Encoding

toJSONList :: [ParseMode] -> Value

toEncodingList :: [ParseMode] -> Encoding

type Rep ParseMode Source # 
Instance details

Defined in Telegram.Bot.API.Types.ParseMode

type Rep ParseMode = D1 ('MetaData "ParseMode" "Telegram.Bot.API.Types.ParseMode" "telegram-bot-api-6.5-inplace" 'False) (C1 ('MetaCons "Markdown" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "HTML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MarkdownV2" 'PrefixI 'False) (U1 :: Type -> Type)))