AttachmentMenuBot constructor

AttachmentMenuBot(
  1. {required int bot_user_id,
  2. required bool supports_self_chat,
  3. required bool supports_user_chats,
  4. required bool supports_bot_chats,
  5. required bool supports_group_chats,
  6. required bool supports_channel_chats,
  7. required bool supports_settings,
  8. required bool request_write_access,
  9. required bool is_added,
  10. required bool show_in_attachment_menu,
  11. required bool show_in_side_menu,
  12. required bool show_disclaimer_in_side_menu,
  13. required String name,
  14. AttachmentMenuBotColor? name_color,
  15. File? default_icon,
  16. File? ios_static_icon,
  17. File? ios_animated_icon,
  18. File? ios_side_menu_icon,
  19. File? android_icon,
  20. File? android_side_menu_icon,
  21. File? macos_icon,
  22. File? macos_side_menu_icon,
  23. AttachmentMenuBotColor? icon_color,
  24. File? web_app_placeholder,
  25. int? extra,
  26. int? clientId}
)

Represents a bot, which can be added to attachment or side menu

Implementation

AttachmentMenuBot