ApplicationCommandBuilder.message constructor
- {required String name,
- Map<
Locale, String> ? nameLocalizations, - Flags<
Permissions> ? defaultMemberPermissions, - bool? hasDmPermission,
- bool? isNsfw,
- List<
ApplicationIntegrationType> ? integrationTypes, - List<
InteractionContextType> ? contexts}
Implementation
ApplicationCommandBuilder.message({
required this.name,
this.nameLocalizations,
this.defaultMemberPermissions,
this.hasDmPermission,
this.isNsfw,
this.integrationTypes,
this.contexts,
}) : type = ApplicationCommandType.message,
description = null,
descriptionLocalizations = null,
options = null;