- Enclosing class:
- TdApi
Recognizes speech in a voice note
message. The message must be successfully
sent and must not be scheduled. May
return an error with a message
"MSG_VOICE_TOO_LONG" if the
voice note is too long to be recognized.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the message belongs.static final int
long
Identifier of the message. -
Constructor Summary
ConstructorDescriptionRecognizes speech in a voice note message.RecognizeSpeech
(long chatId, long messageId) Recognizes speech in a voice note message.RecognizeSpeech
(DataInput input) Recognizes speech in a voice note message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat to which the message belongs. -
messageId
public long messageIdIdentifier of the message. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RecognizeSpeech
public RecognizeSpeech()Recognizes speech in a voice note message. The message must be successfully sent and must not be scheduled. May return an error with a message "MSG_VOICE_TOO_LONG" if the voice note is too long to be recognized. ReturnsOk
-
RecognizeSpeech
public RecognizeSpeech(long chatId, long messageId) Recognizes speech in a voice note message. The message must be successfully sent and must not be scheduled. May return an error with a message "MSG_VOICE_TOO_LONG" if the voice note is too long to be recognized. ReturnsOk
- Parameters:
chatId
- long Identifier of the chat to which the message belongs.messageId
- long Identifier of the message.
-
RecognizeSpeech
Recognizes speech in a voice note message. The message must be successfully sent and must not be scheduled. May return an error with a message "MSG_VOICE_TOO_LONG" if the voice note is too long to be recognized. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-