Layer 228
method
messages.composeRichMessageWithAI#8d7ae6af flags:# proofread:flags.0?true emojify:flags.3?true text:flags.4?InputRichMessage translate_to_lang:flags.1?string tone:flags.2?InputAiComposeTone = messages.ComposedRichMessageWithAI;

Parameters

Name Type Description
Proofread flags.0?true
Emojify flags.3?true
Text flags.4?InputRichMessage
TranslateToLang flags.1?string
Tone flags.2?InputAiComposeTone

Gogram Example

// MessagesComposeRichMessageWithAi - using Params struct
result, err := client.MessagesComposeRichMessageWithAi(&tg.MessagesComposeRichMessageWithAiParams{

    // Optional fields:
    // Proofread: true,
    // Emojify: true,
    // Text: &tg.InputRichMessage{},
    // TranslateToLang: "en",
    // ...
})
if err != nil {
    // handle error
}
// result is *tg.MessagesComposedRichMessageWithAi