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::updateSpeechRecognitionTrial Class Referencefinal

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

Inheritance diagram for td::td_api::updateSpeechRecognitionTrial:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updateSpeechRecognitionTrial ()
 
 updateSpeechRecognitionTrial (int32 max_media_duration_, int32 weekly_count_, int32 left_count_, int32 next_reset_date_)
 
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

int32 max_media_duration_
 The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds.
 
int32 weekly_count_
 The total number of allowed speech recognitions per week; 0 if none.
 
int32 left_count_
 Number of left speech recognition attempts this week.
 
int32 next_reset_date_
 Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown.
 

Static Public Attributes

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

Detailed Description

The parameters of speech recognition without Telegram Premium subscription has changed.

Definition at line 81892 of file td_api.h.

Constructor & Destructor Documentation

◆ updateSpeechRecognitionTrial() [1/2]

td::td_api::updateSpeechRecognitionTrial::updateSpeechRecognitionTrial ( )

The parameters of speech recognition without Telegram Premium subscription has changed.

◆ updateSpeechRecognitionTrial() [2/2]

td::td_api::updateSpeechRecognitionTrial::updateSpeechRecognitionTrial ( int32  max_media_duration_,
int32  weekly_count_,
int32  left_count_,
int32  next_reset_date_ 
)

The parameters of speech recognition without Telegram Premium subscription has changed.

Parameters
[in]max_media_duration_The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds.
[in]weekly_count_The total number of allowed speech recognitions per week; 0 if none.
[in]left_count_Number of left speech recognition attempts this week.
[in]next_reset_date_Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown.

Member Function Documentation

◆ store()

void td::td_api::updateSpeechRecognitionTrial::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

◆ ID

const std::int32_t td::td_api::updateSpeechRecognitionTrial::ID = -11600703
static

Identifier uniquely determining a type of the object.

Definition at line 81927 of file td_api.h.

◆ left_count_

int32 td::td_api::updateSpeechRecognitionTrial::left_count_

Number of left speech recognition attempts this week.

Definition at line 81907 of file td_api.h.

◆ max_media_duration_

int32 td::td_api::updateSpeechRecognitionTrial::max_media_duration_

The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds.

Definition at line 81903 of file td_api.h.

◆ next_reset_date_

int32 td::td_api::updateSpeechRecognitionTrial::next_reset_date_

Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown.

Definition at line 81909 of file td_api.h.

◆ weekly_count_

int32 td::td_api::updateSpeechRecognitionTrial::weekly_count_

The total number of allowed speech recognitions per week; 0 if none.

Definition at line 81905 of file td_api.h.


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