Class: TD::Types::SpeechRecognitionResult::Error

Inherits:
TD::Types::SpeechRecognitionResult show all
Defined in:
lib/tdlib/types/speech_recognition_result/error.rb

Overview

The speech recognition failed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#errorTD::Types::Error

Recognition error. An error with a message “MSG_VOICE_TOO_LONG” is returned when media duration is too big to be recognized.

Returns:



6
7
8
# File 'lib/tdlib/types/speech_recognition_result/error.rb', line 6

def error
  @error
end