Layer 227
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)

Gogram 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.