AttachmentMenuBot constructor
AttachmentMenuBot({
- required int botUserId,
- required bool supportsSelfChat,
- required bool supportsUserChats,
- required bool supportsBotChats,
- required bool supportsGroupChats,
- required bool supportsChannelChats,
- required bool requestWriteAccess,
- required bool isAdded,
- required bool showInAttachmentMenu,
- required bool showInSideMenu,
- required bool showDisclaimerInSideMenu,
- required String name,
- AttachmentMenuBotColor? nameColor,
- File? defaultIcon,
- File? iosStaticIcon,
- File? iosAnimatedIcon,
- File? iosSideMenuIcon,
- File? androidIcon,
- File? androidSideMenuIcon,
- File? macosIcon,
- File? macosSideMenuIcon,
- AttachmentMenuBotColor? iconColor,
- 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,
});