telega-0.2.8: Telegram Bot API binding
Network.API.Telegram.Bot.Object.Update.Message.Content.File.Video
data Video Source #
Constructors
Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.File.Video
Methods
showsPrec :: Int -> Video -> ShowS #
show :: Video -> String #
showList :: [Video] -> ShowS #
parseJSON :: Value -> Parser Video
parseJSONList :: Value -> Parser [Video]
Associated Types
type Identificator Video :: * Source #
ident :: Video -> Identificator Video Source #
access :: Lens' Video Width Source #
access :: Lens' Video Height Source #
access :: Lens' Video Duration Source #
Defined in Network.API.Telegram.Bot.Object.Update.Message
type Payload (Send Video) = (payload :: *) Source #
type Returning (Send Video) :: * Source #
payload :: Payload (Send Video) -> Object Source #
endpoint :: Payload (Send Video) -> String Source #
persist :: FromJSON (Returning (Send Video)) => Payload (Send Video) -> Telegram e (Returning (Send Video)) Source #
persist_ :: Payload (Send Video) -> Telegram e () Source #
type Payload (Send (Caption :&: Video)) = (payload :: *) Source #
type Returning (Send (Caption :&: Video)) :: * Source #
payload :: Payload (Send (Caption :&: Video)) -> Object Source #
endpoint :: Payload (Send (Caption :&: Video)) -> String Source #
persist :: FromJSON (Returning (Send (Caption :&: Video))) => Payload (Send (Caption :&: Video)) -> Telegram e (Returning (Send (Caption :&: Video))) Source #
persist_ :: Payload (Send (Caption :&: Video)) -> Telegram e () Source #