public static class TdApi.RateSpeechRecognition extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which the message belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isGood
Pass true if the speech recognition is good.
|
long |
messageId
Identifier of the message.
|
| Constructor and Description |
|---|
RateSpeechRecognition()
Default constructor for a function, which rates recognized speech in a video note or a voice note message.
|
RateSpeechRecognition(long chatId,
long messageId,
boolean isGood)
Creates a function, which rates recognized speech in a video note or a voice note message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public boolean isGood
public static final int CONSTRUCTOR
public RateSpeechRecognition()
Returns Ok
public RateSpeechRecognition(long chatId,
long messageId,
boolean isGood)
Returns Ok
chatId - Identifier of the chat to which the message belongs.messageId - Identifier of the message.isGood - Pass true if the speech recognition is good.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object