save_ai_tone()¶
- async Client.save_ai_tone()¶
Install or uninstall an AI composer tone, adding it to or removing it from the list of saved tones.
Usable by Users Bots- Parameters:
tone (
InputAiComposeTone) – The tone to save or unsave.unsave (
bool, optional) – IfFalse(default), installs (saves) the tone; ifTrue, uninstalls (unsaves) it.
- Returns:
bool– On success, True is returned.
Example
# Save tone await app.save_ai_tone(tone) # Unsave tone await app.save_ai_tone(tone, unsave=True)