aicompose.SaveTone

class pyrogram.raw.functions.aicompose.SaveTone[source]

Install or uninstall an AI composer tone », adding it to or removing it from the list of saved tones of the current user.

Usable by Users Bots
Details:
  • Layer: 229

  • ID: 1782CBB1

Parameters:
  • tone (InputAiComposeTone) – The tone to save or unsave

  • unsave (bool) – If false, installs (saves) the tone; if true, uninstalls (unsaves) it

Returns:

bool