telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.Types.Audio

Contents

Synopsis

Audio

data Audio Source #

This object represents an audio file to be treated as music by the Telegram clients.

Constructors

Audio 

Fields

Instances

Instances details
Show Audio Source # 
Instance details

Defined in Telegram.Bot.API.Types.Audio

Methods

showsPrec :: Int -> Audio -> ShowS #

show :: Audio -> String #

showList :: [Audio] -> ShowS #

Generic Audio Source # 
Instance details

Defined in Telegram.Bot.API.Types.Audio

Associated Types

type Rep Audio :: Type -> Type #

Methods

from :: Audio -> Rep Audio x #

to :: Rep Audio x -> Audio #

FromJSON Audio Source # 
Instance details

Defined in Telegram.Bot.API.Types.Audio

Methods

parseJSON :: Value -> Parser Audio

parseJSONList :: Value -> Parser [Audio]

ToJSON Audio Source # 
Instance details

Defined in Telegram.Bot.API.Types.Audio

Methods

toJSON :: Audio -> Value

toEncoding :: Audio -> Encoding

toJSONList :: [Audio] -> Value

toEncodingList :: [Audio] -> Encoding

type Rep Audio Source # 
Instance details

Defined in Telegram.Bot.API.Types.Audio