public static class TdApi.UpdateSpeechRecognitionTrial extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
leftCount
Number of left speech recognition attempts this week.
|
int |
maxMediaDuration
The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds.
|
int |
nextResetDate
Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown.
|
int |
weeklyCount
The total number of allowed speech recognitions per week; 0 if none.
|
| Constructor and Description |
|---|
UpdateSpeechRecognitionTrial()
The parameters of speech recognition without Telegram Premium subscription has changed.
|
UpdateSpeechRecognitionTrial(int maxMediaDuration,
int weeklyCount,
int leftCount,
int nextResetDate)
The parameters of speech recognition without Telegram Premium subscription has changed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int maxMediaDuration
public int weeklyCount
public int leftCount
public int nextResetDate
public static final int CONSTRUCTOR
public UpdateSpeechRecognitionTrial()
public UpdateSpeechRecognitionTrial(int maxMediaDuration,
int weeklyCount,
int leftCount,
int nextResetDate)
maxMediaDuration - The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds.weeklyCount - The total number of allowed speech recognitions per week; 0 if none.leftCount - Number of left speech recognition attempts this week.nextResetDate - Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object