Inherits Update.
The parameters of speech recognition without Telegram Premium subscription has changed.
Public Fields | |
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. | |
Public Instance Methods | |
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 Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -11600703 |
Identifier uniquely determining a type of the object. | |
The parameters of speech recognition without Telegram Premium subscription has changed.
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.
[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. |
|
finalvirtual |