messages.summarizeText

Summarize the contents of a message with AI, see here » for more info.

 Method schema is available as of layer 224. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
peer InputPeer The peer where the message is located.
id int Message ID.
to_lang flags.0?string  
tone flags.2?string  

Result

TextWithEntities

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Ai