- API ›
- Constructors ›
- AttachMenuBotIcon
AttachMenuBotIcon
---types--- attachMenuBotIcon#b2a7386b name:string icon:Document colors:flags.0?Vector<AttachMenuBotIconColor> = AttachMenuBotIcon
Belongs to
| AttachMenuBotIcon |
In Rust this constructor is a variant of the enums::AttachMenuBotIcon enum.
Match on it with: if let enums::AttachMenuBotIcon::AttachMenuBotIcon(v) = result { ... }
Parameters
| name | string | required |
| icon | Document | required |
| colors | Vector<AttachMenuBotIconColor> | optional |