telega-0.1.6: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

Network.Telegram.API.Bot.Object.Update.Message.Keyboard.Button

Documentation

data Button Source #

Constructors

Button Text Pressed 
Instances
Show Button Source # 
Instance details

Defined in Network.Telegram.API.Bot.Object.Update.Message.Keyboard.Button

FromJSON Button Source # 
Instance details

Defined in Network.Telegram.API.Bot.Object.Update.Message.Keyboard.Button

Methods

parseJSON :: Value -> Parser Button

parseJSONList :: Value -> Parser [Button]

ToJSON Button Source # 
Instance details

Defined in Network.Telegram.API.Bot.Object.Update.Message.Keyboard.Button

Methods

toJSON :: Button -> Value

toEncoding :: Button -> Encoding

toJSONList :: [Button] -> Value

toEncodingList :: [Button] -> Encoding

type Object Button Source # 
Instance details

Defined in Network.Telegram.API.Bot.Object

type Object Button = ()

data Pressed Source #

Constructors

Open Text 
Callback Text 
Instances
Show Pressed Source # 
Instance details

Defined in Network.Telegram.API.Bot.Object.Update.Message.Keyboard.Button

FromJSON Pressed Source # 
Instance details

Defined in Network.Telegram.API.Bot.Object.Update.Message.Keyboard.Button

Methods

parseJSON :: Value -> Parser Pressed

parseJSONList :: Value -> Parser [Pressed]