mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
18 lines
526 B
C#
18 lines
526 B
C#
using Nihs.ConcurrentList;
|
|
using System;
|
|
|
|
namespace Remotely.Shared.ViewModels
|
|
{
|
|
public class ChatSession
|
|
{
|
|
public ConcurrentList<ChatHistoryItem> ChatHistory { get; } = new();
|
|
public string DeviceId { get; set; }
|
|
public string DeviceName { get; set; }
|
|
public string ExpandedClass => IsExpanded ? "expanded" : "";
|
|
public bool IsExpanded { get; set; }
|
|
|
|
public int MissedChats { get; set; }
|
|
public string SessionId { get; } = Guid.NewGuid().ToString();
|
|
}
|
|
}
|