AttachmentMenuBot constructor

const 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 supportsSettings,
  8. required bool requestWriteAccess,
  9. required String name,
  10. AttachmentMenuBotColor? nameColor,
  11. File? defaultIcon,
  12. File? iosStaticIcon,
  13. File? iosAnimatedIcon,
  14. File? androidIcon,
  15. File? macosIcon,
  16. AttachmentMenuBotColor? iconColor,
  17. File? webAppPlaceholder,
  18. dynamic extra,
  19. 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,
});