telega-0.2.4: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

Network.API.Telegram.Bot.Object.Update.Message.Content.File.Caption

Documentation

newtype Caption Source #

Constructors

Caption Text 
Instances
Show Caption Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.File.Caption

FromJSON Caption Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.File.Caption

Methods

parseJSON :: Value -> Parser Caption

parseJSONList :: Value -> Parser [Caption]

ToJSON Caption Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.File.Caption

Methods

toJSON :: Caption -> Value

toEncoding :: Caption -> Encoding

toJSONList :: [Caption] -> Value

toEncodingList :: [Caption] -> Encoding

Persistable (Send (Caption :&: Audio)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Audio)) = (payload :: *) Source #

Methods

payload :: Payload (Send (Caption :&: Audio)) -> Object Source #

endpoint :: Payload (Send (Caption :&: Audio)) -> String Source #

persist :: FromJSON r => Payload (Send (Caption :&: Audio)) -> Telegram e r Source #

persist_ :: Payload (Send (Caption :&: Audio)) -> Telegram e () Source #

Persistable (Send (Caption :&: Document)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Document)) = (payload :: *) Source #

Persistable (Send (Caption :&: Video)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Video)) = (payload :: *) Source #

Methods

payload :: Payload (Send (Caption :&: Video)) -> Object Source #

endpoint :: Payload (Send (Caption :&: Video)) -> String Source #

persist :: FromJSON r => Payload (Send (Caption :&: Video)) -> Telegram e r Source #

persist_ :: Payload (Send (Caption :&: Video)) -> Telegram e () Source #

Persistable (Send (Caption :&: Voice)) Source # 
Instance details

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

Associated Types

type Payload (Send (Caption :&: Voice)) = (payload :: *) Source #

Methods

payload :: Payload (Send (Caption :&: Voice)) -> Object Source #

endpoint :: Payload (Send (Caption :&: Voice)) -> String Source #

persist :: FromJSON r => Payload (Send (Caption :&: Voice)) -> Telegram e r Source #

persist_ :: Payload (Send (Caption :&: Voice)) -> Telegram e () Source #

type Payload (Send (Caption :&: Audio)) Source # 
Instance details

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

type Payload (Send (Caption :&: Audio)) = Send (Caption :&: (URI :&: Audio))
type Payload (Send (Caption :&: Document)) Source # 
Instance details

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

type Payload (Send (Caption :&: Document)) = Send (Caption :&: (URI :&: Document))
type Payload (Send (Caption :&: Video)) Source # 
Instance details

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

type Payload (Send (Caption :&: Video)) = Send (Caption :&: (URI :&: Video))
type Payload (Send (Caption :&: Voice)) Source # 
Instance details

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

type Payload (Send (Caption :&: Voice)) = Send (Caption :&: (URI :&: Voice))