Package org.drinkless.tdlib

# Class TdApi.SpeechRecognitionResultError

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.SpeechRecognitionResult
org.drinkless.tdlib.TdApi.SpeechRecognitionResultError

Enclosing class:
  `TdApi`

public static class TdApi.SpeechRecognitionResultError extends TdApi.SpeechRecognitionResult
The speech recognition failed.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.SpeechRecognitionResult

  `TdApi.SpeechRecognitionResult.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `TdApi.Error`
  `error`
  Recognition error.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SpeechRecognitionResultError()`
  The speech recognition failed.
  `SpeechRecognitionResultError(TdApi.Error error)`
  The speech recognition failed.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### error

    public TdApi.Error error
    Recognition error. An error with a message "MSG_VOICE_TOO_LONG" is returned when media duration is too big to be recognized.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### SpeechRecognitionResultError

    public SpeechRecognitionResultError()
    The speech recognition failed.

  - ### SpeechRecognitionResultError

    public SpeechRecognitionResultError(TdApi.Error error)
    The speech recognition failed.
    Parameters:
      `error` - Recognition error. An error with a message "MSG_VOICE_TOO_LONG" is returned when media duration is too big to be recognized.

- ## Method Details

  - ### getConstructor

    public int getConstructor()
    Description copied from class: `TdApi.Object`
    Returns an identifier uniquely determining type of the object.
    Specified by:
      `getConstructor` in class `TdApi.SpeechRecognitionResult`
    Returns:
      this.CONSTRUCTOR