messages.composedMessageWithAI #

Represents a message modified by AI.

Layer 223

Constructor schema is available as of layer 224. Switch »

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
result_textTextWithEntitiesThe modified message.
diff_textflags.0?TextWithEntitiesIf 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

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