telega-0.2.4: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

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

Documentation

data Video Source #

Constructors

Video Int Int Int (Maybe Text) (Maybe Int) 
Instances
Show Video Source # 
Instance details

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

Methods

showsPrec :: Int -> Video -> ShowS #

show :: Video -> String #

showList :: [Video] -> ShowS #

FromJSON Video Source # 
Instance details

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

Methods

parseJSON :: Value -> Parser Video

parseJSONList :: Value -> Parser [Video]

Persistable (Send Video) Source # 
Instance details

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

Associated Types

type Payload (Send Video) = (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 #

type Payload (Send Video) Source # 
Instance details

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

type Payload (Send Video) = Send (URI :&: Video)
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))