Layer 227
AicomposeGetToneExample
Fetch an example showing how an AI composer tone rephrases a sample message, used as a preview in the tone picker.
method
Users
aicompose.getToneExample#d1b4ab14 tone:InputAiComposeTone num:int = AiComposeToneExample;
Parameters
| Name | Type | Description |
|---|---|---|
| Tone | InputAiComposeTone | The tone to preview |
| Num | int | 0-based index of the example to fetch, to cycle through the available examples (there are aicompose_tone_examples_num examples per tone) |
Returns
AiComposeToneExampleGogram Example
// AicomposeGetToneExample - positional arguments result, err := client.AicomposeGetToneExample(&tg.InputAiComposeTone{}, 42) if err != nil { // handle error } // result is *tg.AiComposeToneExample
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | AICOMPOSE_TONE_INVALID | The specified tone is invalid. |