| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.RecognizeSpeechInFile
Documentation
data RecognizeSpeechInFile Source #
Recognizes speech in an audio file and returns the recognized text. The file must be in OGG format with Opus codec and must have size up to 1 MB. The same rules as for recognizeSpeech apply to the Telegram Premium requirement and speech recognition trial; must not be used in secret chats. Returns Text
Constructors
| RecognizeSpeechInFile | |
Fields
| |
Instances
| ToJSON RecognizeSpeechInFile Source # | |
Defined in TD.Query.RecognizeSpeechInFile Methods toJSON :: RecognizeSpeechInFile -> Value # toEncoding :: RecognizeSpeechInFile -> Encoding # toJSONList :: [RecognizeSpeechInFile] -> Value # toEncodingList :: [RecognizeSpeechInFile] -> Encoding # | |
| Show RecognizeSpeechInFile Source # | |
Defined in TD.Query.RecognizeSpeechInFile Methods showsPrec :: Int -> RecognizeSpeechInFile -> ShowS # show :: RecognizeSpeechInFile -> String # showList :: [RecognizeSpeechInFile] -> ShowS # | |
| Eq RecognizeSpeechInFile Source # | |
Defined in TD.Query.RecognizeSpeechInFile Methods (==) :: RecognizeSpeechInFile -> RecognizeSpeechInFile -> Bool # (/=) :: RecognizeSpeechInFile -> RecognizeSpeechInFile -> Bool # | |
| ShortShow RecognizeSpeechInFile Source # | |
Defined in TD.Query.RecognizeSpeechInFile Methods | |