syntax = "proto3";

package raid_moderation_action;

option go_package = "raid_moderation_action";

import "eventbus/owner.proto";
import "google/protobuf/timestamp.proto";

// RaidModerationActionDelete is triggered when a raid has ended.
message RaidModerationActionDelete {
  option (eventbus.owner.ldap_group) = "team-communications";
  // The id of the channel that was running a raid.
  string user_id = 1;
  // The moderator who ended the raid.
  string moderator_id = 2;
  // The id of the channel that was being raided.
  string target_user_id = 4;
  // The time at which a raid was ended.
  google.protobuf.Timestamp ended_at = 5;
}
