Link Search Menu Expand Document

Constructor: attachMenuBotIconColor

Back to constructors index

Represents an attachment menu icon color for bot mini apps »

Attributes:

NameTypeRequiredDescription
namestringYesOne 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)
colorintYesColor in RGB24 format

Type: AttachMenuBotIconColor

Example:

$attachMenuBotIconColor = ['_' => 'attachMenuBotIconColor', 'name' => 'string', 'color' => int];