AttachmentMenuBot constructor
const
AttachmentMenuBot({
- required int botUserId,
- required bool supportsSelfChat,
- required bool supportsUserChats,
- required bool supportsBotChats,
- required bool supportsGroupChats,
- required bool supportsChannelChats,
- required bool supportsSettings,
- required bool requestWriteAccess,
- required String name,
- AttachmentMenuBotColor? nameColor,
- File? defaultIcon,
- File? iosStaticIcon,
- File? iosAnimatedIcon,
- File? androidIcon,
- File? macosIcon,
- AttachmentMenuBotColor? iconColor,
- File? webAppPlaceholder,
- dynamic extra,
- int? clientId,
Represents a bot, which can be added to attachment menu
Implementation
const AttachmentMenuBot({
required this.botUserId,
required this.supportsSelfChat,
required this.supportsUserChats,
required this.supportsBotChats,
required this.supportsGroupChats,
required this.supportsChannelChats,
required this.supportsSettings,
required this.requestWriteAccess,
required this.name,
this.nameColor,
this.defaultIcon,
this.iosStaticIcon,
this.iosAnimatedIcon,
this.androidIcon,
this.macosIcon,
this.iconColor,
this.webAppPlaceholder,
this.extra,
this.clientId,
});