BusinessBotRights constructor

BusinessBotRights({
  1. required bool canReply,
  2. required bool canReadMessages,
  3. required bool canDeleteSentMessages,
  4. required bool canDeleteAllMessages,
  5. required bool canEditName,
  6. required bool canEditBio,
  7. required bool canEditProfilePhoto,
  8. required bool canEditUsername,
  9. required bool canViewGiftsAndStars,
  10. required bool canSellGifts,
  11. required bool canChangeGiftSettings,
  12. required bool canTransferAndUpgradeGifts,
  13. required bool canTransferStars,
  14. required bool canManageStories,
})

Implementation

BusinessBotRights({
  required this.canReply,
  required this.canReadMessages,
  required this.canDeleteSentMessages,
  required this.canDeleteAllMessages,
  required this.canEditName,
  required this.canEditBio,
  required this.canEditProfilePhoto,
  required this.canEditUsername,
  required this.canViewGiftsAndStars,
  required this.canSellGifts,
  required this.canChangeGiftSettings,
  required this.canTransferAndUpgradeGifts,
  required this.canTransferStars,
  required this.canManageStories,
});