16 lines
467 B
C#
16 lines
467 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Net.BITKit.Chat
|
|
{
|
|
public record ChatMessage
|
|
{
|
|
public int Id { get; set; }
|
|
public string FromUserId { get; set; } ="Error";
|
|
public string ToUserId { get; set; } = "Error";
|
|
public string Content { get; set; } = "Error";
|
|
public DateTime Timestamp { get; set; } = DateTime.UtcNow;
|
|
public bool IsGroup { get; set; }= false;
|
|
}
|
|
} |