- Enclosing class:
- TdApi
Rates recognized speech in a voice note message.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the message belongs.static final int
boolean
Pass true if the speech recognition is good.long
Identifier of the message. -
Constructor Summary
ConstructorDescriptionRates recognized speech in a voice note message.RateSpeechRecognition
(long chatId, long messageId, boolean isGood) Rates recognized speech in a voice note message.RateSpeechRecognition
(DataInput input) Rates recognized 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. -
isGood
public boolean isGoodPass true if the speech recognition is good. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RateSpeechRecognition
public RateSpeechRecognition()Rates recognized speech in a voice note message. ReturnsOk
-
RateSpeechRecognition
public RateSpeechRecognition(long chatId, long messageId, boolean isGood) Rates recognized speech in a voice note message. ReturnsOk
- Parameters:
chatId
- long Identifier of the chat to which the message belongs.messageId
- long Identifier of the message.isGood
- boolean Pass true if the speech recognition is good.
-
RateSpeechRecognition
Rates recognized speech in a voice note message. 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()
-