TD.Data.Audio
data Audio Source #
Constructors
Describes an audio file. Audio is usually in MP3 or M4A format
Fields
Duration of the audio, in seconds; as defined by the sender
Title of the audio; as defined by the sender
Performer of the audio; as defined by the sender
Original name of the file; as defined by the sender
The MIME type of the file; as defined by the sender
The minithumbnail of the album cover; may be null
The thumbnail of the album cover in JPEG format; as defined by the sender. The full size thumbnail is expected to be extracted from the downloaded audio file; may be null
Album cover variants to use if the downloaded audio file contains no album cover. Provided thumbnail dimensions are approximate
File containing the audio
Defined in TD.Data.Audio
Methods
parseJSON :: Value -> Parser Audio #
parseJSONList :: Value -> Parser [Audio] #
showsPrec :: Int -> Audio -> ShowS #
show :: Audio -> String #
showList :: [Audio] -> ShowS #
(==) :: Audio -> Audio -> Bool #
(/=) :: Audio -> Audio -> Bool #
shortShow :: Audio -> String Source #