RecognizeSpeech constructor

RecognizeSpeech(
  1. {required int chat_id,
  2. required int message_id,
  3. int? extra,
  4. int? clientId}
)

Recognizes speech in a video note or 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 media duration is too big to be recognized

Returns Ok

Implementation

RecognizeSpeech