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

Telegram.Bot.API.Types.Voice

Contents

Synopsis

Voice

data Voice Source #

This object represents a voice note.

Constructors

Voice 

Fields

Instances

Instances details
FromJSON Voice Source # 
Instance details

Defined in Telegram.Bot.API.Types.Voice

ToJSON Voice Source # 
Instance details

Defined in Telegram.Bot.API.Types.Voice

Generic Voice Source # 
Instance details

Defined in Telegram.Bot.API.Types.Voice

Associated Types

type Rep Voice :: Type -> Type #

Methods

from :: Voice -> Rep Voice x #

to :: Rep Voice x -> Voice #

Show Voice Source # 
Instance details

Defined in Telegram.Bot.API.Types.Voice

Methods

showsPrec :: Int -> Voice -> ShowS #

show :: Voice -> String #

showList :: [Voice] -> ShowS #

type Rep Voice Source # 
Instance details

Defined in Telegram.Bot.API.Types.Voice

type Rep Voice = D1 ('MetaData "Voice" "Telegram.Bot.API.Types.Voice" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "Voice" 'PrefixI 'True) ((S1 ('MetaSel ('Just "voiceFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "voiceFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId)) :*: (S1 ('MetaSel ('Just "voiceDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Seconds) :*: (S1 ('MetaSel ('Just "voiceMimeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "voiceFileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))))))