syntax = "proto3";

package raid_moderation_action;

option go_package = "raid_moderation_action";

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

// RaidModerationActionCreate is triggered when a raid has been initiated.
message RaidModerationActionCreate {
  option (eventbus.owner.ldap_group) = "team-communications";
  // The id of the channel that is raiding.
  string user_id = 1;
  // The moderator who initiated the raid.
  string moderator_id = 2;
  // The id of the channel that is being raided.
  string target_user_id = 3;
  // The viewer count.
  int64 viewer_count = 4;
  // Whether the viewer count should be shown.
  bool viewer_count_revealed = 5;
  // The time at which raiding was initiated.
  google.protobuf.Timestamp started_at = 6;
}
