Skip to content

messages.composeMessageWithAI

Layer 225

Constructor ID: 0xdaecc589
Returns: ComposedMessageWithAi

Parameters

NameTypeDescription
proofreadbool (flags.0, optional)
emojifybool (flags.3, optional)
textTextWithEntities
translate_to_langstring (flags.1, optional)
toneInputAiComposeTone (flags.2, optional)

Example

go
result, err := client.Raw(&tg.ComposeMessageWithAiRequest{
    proofread: false,
    emojify: false,
    text: nil, // TextWithEntities
    translate_to_lang: "",
    tone: nil, // InputAiComposeTone
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.