Interface RecognizeSpeech

Recognizes speech in a video note or a voice note message. Request type for Tdjson#recognizeSpeech.

interface RecognizeSpeech {
    @type: "recognizeSpeech";
    chat_id: number;
    message_id: number;
}

Properties

@type: "recognizeSpeech"
chat_id: number

Identifier of the chat to which the message belongs.

message_id: number

Identifier of the message. Use messageProperties.can_recognize_speech to check whether the message is suitable.