syntax = "proto3";

package host_moderation_action;

option go_package = "host_moderation_action";

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

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