AttachmentMenuBot constructor

AttachmentMenuBot({
  1. required int botUserId,
  2. required bool supportsSelfChat,
  3. required bool supportsUserChats,
  4. required bool supportsBotChats,
  5. required bool supportsGroupChats,
  6. required bool supportsChannelChats,
  7. required bool requestWriteAccess,
  8. required bool isAdded,
  9. required bool showInAttachmentMenu,
  10. required bool showInSideMenu,
  11. required bool showDisclaimerInSideMenu,
  12. required String name,
  13. AttachmentMenuBotColor? nameColor,
  14. File? defaultIcon,
  15. File? iosStaticIcon,
  16. File? iosAnimatedIcon,
  17. File? iosSideMenuIcon,
  18. File? androidIcon,
  19. File? androidSideMenuIcon,
  20. File? macosIcon,
  21. File? macosSideMenuIcon,
  22. AttachmentMenuBotColor? iconColor,
  23. File? webAppPlaceholder,
})

Implementation

AttachmentMenuBot({
  required this.botUserId,
  required this.supportsSelfChat,
  required this.supportsUserChats,
  required this.supportsBotChats,
  required this.supportsGroupChats,
  required this.supportsChannelChats,
  required this.requestWriteAccess,
  required this.isAdded,
  required this.showInAttachmentMenu,
  required this.showInSideMenu,
  required this.showDisclaimerInSideMenu,
  required this.name,
  this.nameColor,
  this.defaultIcon,
  this.iosStaticIcon,
  this.iosAnimatedIcon,
  this.iosSideMenuIcon,
  this.androidIcon,
  this.androidSideMenuIcon,
  this.macosIcon,
  this.macosSideMenuIcon,
  this.iconColor,
  this.webAppPlaceholder,
});