RecognizeSpeech constructor

const RecognizeSpeech({
  1. required int chatId,
  2. required int messageId,
})

Recognizes speech in a video note or a voice note message. The message must be successfully sent, must not be scheduled, and must be from a non-secret chat

Implementation

const RecognizeSpeech({
  required this.chatId,
  required this.messageId,
});