messages.SummarizeText#

class pyrogram.raw.functions.messages.SummarizeText#

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

Usable by Users Bots
Details:
  • Layer: 225

  • ID: ABBBD346

Parameters:
  • peer (InputPeer) – The peer where the message is located.

  • id (int 32-bit) – Message ID.

  • to_lang (str, optional)

  • tone (str, optional)

Returns:

TextWithEntities