syntax = "proto3";

package chat_ban;

option go_package = "chat_ban";

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

// ChatBanCreate triggers when a chat ban for a user is lifted.
message ChatBanDelete {
  option (eventbus.owner.ldap_group) = "team-communications";
  // The user in whose channel the ban took place
  string broadcaster_user_id = 1;
  // The id for the user which is banned from the chat
  string banned_user_id = 2;
  // The id for the user which performed the unbanning action
  string requester_user_id = 3;
  // The time at which the ban was lifted
  google.protobuf.Timestamp unbanned_at = 5;
  // Represents whether the chat ban had a scheduled end time
  bool untimeout = 6;
}
