public static class TdApi.RecognizeSpeech 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.
|
long |
messageId
Identifier of the message.
|
| Constructor and Description |
|---|
RecognizeSpeech()
Default constructor for a function, which recognizes speech in a video note or a voice note message.
|
RecognizeSpeech(long chatId,
long messageId)
Creates a function, which recognizes 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 static final int CONSTRUCTOR
public RecognizeSpeech()
Returns Ok
public RecognizeSpeech(long chatId,
long messageId)
Returns Ok
chatId - Identifier of the chat to which the message belongs.messageId - Identifier of the message. Use messageProperties.canRecognizeSpeech to check whether the message is suitable.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object