Remotely/Shared/ViewModels/ChatSession.cs
2023-07-26 11:31:34 -07:00

17 lines
486 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();
}