Remotely/Shared/ViewModels/ChatSession.cs
2021-07-29 07:57:31 -07:00

22 lines
638 B
C#

using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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();
}
}