Interface FixRecognizedRichMessageWithAi

Fixes a rich message with text received as a result of speech recognition using an AI model by correcting recognition errors and adding punctuation. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests. Request type for Tdjson#fixRecognizedRichMessageWithAi.

interface FixRecognizedRichMessageWithAi {
    @type: "fixRecognizedRichMessageWithAi";
    message: InputRichMessage;
}

Properties

Properties

@type: "fixRecognizedRichMessageWithAi"

The message with the recognized text.