Interaction constructor

Interaction({
  1. required int clientIndex,
  2. required String id,
  3. required InteractionType type,
  4. ApplicationCommandInteractionData? data,
  5. String? guildId,
  6. String? channelId,
  7. GuildMember? member,
  8. User? user,
  9. required String token,
  10. 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;