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