telega-0.2.8: Telegram Bot API binding
Network.API.Telegram.Bot.Object.Update.Message.Keyboard
data Keyboard Source #
Constructors
Defined in Network.API.Telegram.Bot.Object.Update.Message.Keyboard
Methods
showsPrec :: Int -> Keyboard -> ShowS #
show :: Keyboard -> String #
showList :: [Keyboard] -> ShowS #
parseJSON :: Value -> Parser Keyboard
parseJSONList :: Value -> Parser [Keyboard]
toJSON :: Keyboard -> Value
toEncoding :: Keyboard -> Encoding
toJSONList :: [Keyboard] -> Value
toEncodingList :: [Keyboard] -> Encoding
Defined in Network.API.Telegram.Bot.Object.Update.Message
Associated Types
type Payload (Edit Keyboard) = (payload :: *) Source #
type Returning (Edit Keyboard) :: * Source #
payload :: Payload (Edit Keyboard) -> Object Source #
endpoint :: Payload (Edit Keyboard) -> String Source #
persist :: FromJSON (Returning (Edit Keyboard)) => Payload (Edit Keyboard) -> Telegram e (Returning (Edit Keyboard)) Source #
persist_ :: Payload (Edit Keyboard) -> Telegram e () Source #
type Payload (Send (Text :&: Keyboard)) = (payload :: *) Source #
type Returning (Send (Text :&: Keyboard)) :: * Source #
payload :: Payload (Send (Text :&: Keyboard)) -> Object Source #
endpoint :: Payload (Send (Text :&: Keyboard)) -> String Source #
persist :: FromJSON (Returning (Send (Text :&: Keyboard))) => Payload (Send (Text :&: Keyboard)) -> Telegram e (Returning (Send (Text :&: Keyboard))) Source #
persist_ :: Payload (Send (Text :&: Keyboard)) -> Telegram e () Source #
module Network.API.Telegram.Bot.Object.Update.Message.Keyboard.Button