attachMenuBotIcon #
Represents an attachment menu icon for bot mini apps »¶
Layer 223
attachMenuBotIcon#b2a7386b flags:# name:string icon:Document colors:flags.0?Vector<AttachMenuBotIconColor> = AttachMenuBotIcon; Parameters #
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| name | string | One of the following values: note that animated icons must be played when the user clicks on the button, activating the bot mini app.default_static - Default attachment menu icon in SVG formatplaceholder_static - Default placeholder for opened Web Apps in SVG formatios_static - Attachment menu icon in SVG format for the official iOS appios_animated - Animated attachment menu icon in TGS format for the official iOS appandroid_animated - Animated attachment menu icon in TGS format for the official Android appmacos_animated - Animated attachment menu icon in TGS format for the official native Mac OS appios_side_menu_static - Side menu icon in PNG format for the official iOS appandroid_side_menu_static - Side menu icon in SVG format for the official android appmacos_side_menu_static - Side menu icon in PNG format for the official native Mac OS app |
| icon | Document | The actual icon file. |
| colors | flags.0?Vector<AttachMenuBotIconColor> | Attachment menu icon colors. |
Type #
Related pages #
Bot attachment menu and side menu entries #
Bots can install attachment menu and side menu entries, offering conveniently accessible, versatile web apps.¶