haskell-tdlib-2.1.31.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetSpeechRecognitionModels

Synopsis

Documentation

data GetSpeechRecognitionModels Source #

Returns the newest models for on-device speech recognition supported by the given version of the speech recognition library, including models for speech language and voice activity detection. If the request fails or no models are returned, then built-in models or recognizeSpeech must be used instead. The method is supposed to be called after an application update, before the first on-device speech recognition, and from application settings. Returns SpeechRecognitionModels

Constructors

GetSpeechRecognitionModels 

Fields

  • version :: Maybe Int

    Version of the speech recognition library built into the application; must be positive