Interface FixRecognizedTextWithAi

Fixes text received as a result of speech recognition using an AI model by correcting recognition errors and adding punctuation; must not be used in secret chats. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests. Request type for Tdjson#fixRecognizedTextWithAi.

interface FixRecognizedTextWithAi {
    @type: "fixRecognizedTextWithAi";
    text: FormattedText;
}

Properties

Properties

@type: "fixRecognizedTextWithAi"

The recognized text.