Layer 227
AiComposeToneExampleObj
An example showing how an AI composer tone rephrases a message, used as a preview in the tone picker.
constructor
aiComposeToneExample#f1d628ec from:TextWithEntities to:TextWithEntities = AiComposeToneExample;
Parameters
| Name | Type | Description |
|---|---|---|
| From | TextWithEntities | The original, un-transformed sample message |
| To | TextWithEntities | The same sample message after being rephrased with this tone |
Returns
AiComposeToneExampleGogram Example
// Creating AiComposeToneExampleObj constructor obj := &tg.AiComposeToneExampleObj{ From: &tg.TextWithEntities{}, To: &tg.TextWithEntities{}, }