Layer 227
AicomposeSaveTone
Install or uninstall an AI composer tone, adding it to or removing it from the list of saved tones of the current user.
method
Users
aicompose.saveTone#1782cbb1 tone:InputAiComposeTone unsave:Bool = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Tone | InputAiComposeTone | The tone to save or unsave |
| Unsave | Bool | If false, installs (saves) the tone; if true, uninstalls (unsaves) it |
Returns
BoolGogram Example
// AicomposeSaveTone - positional arguments result, err := client.AicomposeSaveTone(&tg.InputAiComposeTone{}, true) if err != nil { // handle error } // result is *tg.Bool
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | AICOMPOSE_TONE_INVALID | The specified tone is invalid. |