using System;
using MediaBrowser.Model.Session;
namespace MediaBrowser.Controller.Session;
///
/// A websocket message for a session held by another instance, carried as a .
///
public sealed class RoutedSessionMessage
{
///
/// The this payload travels under.
///
public const string Kind = "SessionMessage";
///
/// Gets or sets the session the message is addressed to.
///
public string SessionId { get; set; } = string.Empty;
///
/// Gets or sets the message type.
///
public SessionMessageType MessageType { get; set; }
///
/// Gets or sets the message identifier.
///
public Guid MessageId { get; set; }
///
/// Gets or sets the message data, serialized as JSON.
///
public string Data { get; set; } = "null";
}