Layer 224
AttachMenuBotIconColorObj
Represents an attachment menu icon color for bot mini apps
constructor
attachMenuBotIconColor#4576f3f0 name:string color:int = AttachMenuBotIconColor;
Parameters
| Name | Type | Description |
|---|---|---|
| Name | string | One of the following values: light_icon - Color of the attachment menu icon (light mode) light_text - Color of the attachment menu label, once selected (light mode) dark_icon - Color of the attachment menu icon (dark mode) dark_text - Color of the attachment menu label, once selected (dark mode) |
| Color | int | Color in RGB 24 format |
Returns
AttachMenuBotIconColorGogram Example
// Creating AttachMenuBotIconColorObj constructor obj := &tg.AttachMenuBotIconColorObj{ Name: "Hello, World!", Color: 42, }