TD.Data.VoiceNote
data VoiceNote Source #
Constructors
Describes a voice note
Fields
Duration of the voice note, in seconds; as defined by the sender
A waveform representation of the voice note in 5-bit format
MIME type of the file; as defined by the sender. Usually, one of "audioogg" for Opus in an OGG container, "audiompeg" for an MP3 audio, or "audio/mp4" for an M4A audio
Result of speech recognition in the voice note; may be null
File containing the voice note
Defined in TD.Data.VoiceNote
Methods
parseJSON :: Value -> Parser VoiceNote #
parseJSONList :: Value -> Parser [VoiceNote] #
showsPrec :: Int -> VoiceNote -> ShowS #
show :: VoiceNote -> String #
showList :: [VoiceNote] -> ShowS #
(==) :: VoiceNote -> VoiceNote -> Bool #
(/=) :: VoiceNote -> VoiceNote -> Bool #
shortShow :: VoiceNote -> String Source #