Layer 227
AiComposeToneDefault
A built-in, default AI composer tone, identified by a string identifier rather than by a numeric ID.
constructor
aiComposeToneDefault#9bad6414 tone:string emoji_id:long title:string = AiComposeTone;
Parameters
| Name | Type | Description |
|---|---|---|
| Tone | string | String identifier of the built-in tone, to be passed to input Ai Compose Tone Default |
| EmojiId | long | Custom emoji ID of the tone's icon |
| Title | string | Localized, human-readable name of the tone |
Returns
AiComposeToneGogram Example
// Creating AiComposeToneDefault constructor obj := &tg.AiComposeToneDefault{ Tone: "Hello, World!", EmojiId: int64(1234567890), Title: "Hello, World!", }