syntax = "proto3";

package stream;

option go_package = "stream";

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

// StreamCreate is triggered when a stream is started.
message StreamCreate {
  option (eventbus.owner.ldap_group) = "team-vx-live-infra";
  // Stream ID.
  string id = 1;
  // Channel ID of the broadcaster.
  string user_id = 2;
  // Type of stream that is being created
  StreamType stream_type = 3;
  // Time that the stream went online
  google.protobuf.Timestamp started_at = 4;
}
