messages.composeMessageWithAI

 Method schema is available as of layer 225. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
proofread flags.0?true  
emojify flags.3?true  
text TextWithEntities  
translate_to_lang flags.1?string  
change_tone flags.2?string  

Result

messages.ComposedMessageWithAI

Both users and bots can use this method