messages.composeMessageWithAI

Invokes telegram's AI Editor that can translate, transform, fixup and/or emojify your message in a number of different ways, privately powered by Cocoon, see here » for more info!

All of the modes specified below can be combined.

 Method schema is available as of layer 225. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
proofread flags.0?true If set, proofreads and fixes mistakes in the message
emojify flags.3?true If set, adds emojis to the message
text TextWithEntities The message
translate_to_lang flags.1?string If set, translates the message to the specified language
tone flags.2?InputAiComposeTone  

Result

messages.ComposedMessageWithAI

Both users and bots can use this method

Related pages

AI features

Telegram offers many AI features powered by Cocoon — a decentralized network designed to maximize privacy.