AttachMenuBotIconColor
- class pyrogram.raw.types.AttachMenuBotIconColor
Represents an attachment menu icon color for bot mini apps »
Constructor of
AttachMenuBotIconColor.- Details:
Layer:
223ID:
4576F3F0
- Parameters:
name (
str) – 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 (
int32-bit) – Color in RGB24 format
TL Schema
attachMenuBotIconColor#4576f3f0
name:string
color:int
= AttachMenuBotIconColor
Parameter Tree
AttachMenuBotIconColor
├── name →
string└── color →
intExample
AttachMenuBotIconColor(
name="text",
color=0,
)