Module tdlight.api

Class TdApi.RateSpeechRecognition

Enclosing class:
TdApi

public static final class TdApi.RateSpeechRecognition extends TdApi.Function<TdApi.Ok>
Rates recognized speech in a video note or a voice note message. Returns Ok
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat to which the message belongs.
    • messageId

      public long messageId
      Identifier of the message.
    • isGood

      public boolean isGood
      Pass 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 video note or a voice note message. Returns Ok
    • RateSpeechRecognition

      public RateSpeechRecognition(long chatId, long messageId, boolean isGood)
      Rates recognized speech in a video note or a voice note message. Returns Ok
      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

      public RateSpeechRecognition(DataInput input) throws IOException
      Rates recognized speech in a video note or a voice note message. Returns Ok
      Throws:
      IOException
  • Method Details