RecognizeSpeech constructor
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
Implementation
const RecognizeSpeech({
required this.chatId,
required this.messageId,
});