aicompose.SaveTone#

class pyrogram.raw.functions.aicompose.SaveTone#

Install or uninstall an AI composer tone, adding it to or removing it from the list of saved tones of the current user. Non-Premium users may install up to aicompose_tone_saved_limit_default tones, Premium users up to aicompose_tone_saved_limit_premium tones.

Usable by Users Bots
Details:
  • Layer: 227

  • 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