tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::speechRecognitionResultError Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::speechRecognitionResultError:
td::td_api::SpeechRecognitionResult td::td_api::Object td::TlObject

Public Member Functions

 speechRecognitionResultError ()
 
 speechRecognitionResultError (object_ptr< error > &&error_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< errorerror_
 Recognition error. An error with a message "MSG_VOICE_TOO_LONG" is returned when media duration is too big to be recognized.
 

Static Public Attributes

static const std::int32_t ID = 164774908
 Identifier uniquely determining a type of the object.
 

Detailed Description

The speech recognition failed.

Definition at line 63988 of file td_api.h.

Constructor & Destructor Documentation

◆ speechRecognitionResultError() [1/2]

td::td_api::speechRecognitionResultError::speechRecognitionResultError ( )

The speech recognition failed.

◆ speechRecognitionResultError() [2/2]

td::td_api::speechRecognitionResultError::speechRecognitionResultError ( object_ptr< error > &&  error_)
explicit

The speech recognition failed.

Parameters
[in]error_Recognition error. An error with a message "MSG_VOICE_TOO_LONG" is returned when media duration is too big to be recognized.

Member Function Documentation

◆ store()

void td::td_api::speechRecognitionResultError::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ error_

object_ptr<error> td::td_api::speechRecognitionResultError::error_

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

Definition at line 63999 of file td_api.h.

◆ ID

const std::int32_t td::td_api::speechRecognitionResultError::ID = 164774908
static

Identifier uniquely determining a type of the object.

Definition at line 64014 of file td_api.h.


The documentation for this class was generated from the following file: