messages.composedMessageWithAI

Represents a message modified by AI.

Constructor schema is available as of layer 224. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
result_text TextWithEntities The modified message.
diff_text flags.0?TextWithEntities If only the proofreading mode (messages.composeMessageWithAI.proofread) is enabled, this field will be populated with a "pre-rendered" diff between the old and the new message text using only diff entities ».

Type

messages.ComposedMessageWithAI

Related pages

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.

Styled text with message entities

How to create styled text with message entities