Interaction constructor
Interaction({
- required int clientIndex,
- required String id,
- required InteractionType type,
- ApplicationCommandInteractionData? data,
- String? guildId,
- String? channelId,
- GuildMember? member,
- User? user,
- required String token,
- required int version,
Implementation
Interaction({
required int clientIndex,
required this.id,
required this.type,
this.data,
this.guildId,
this.channelId,
this.member,
this.user,
required this.token,
required this.version,
}) : _clientIndex = clientIndex;