17 lines
330 B
C#
17 lines
330 B
C#
|
|
using MessagePack;
|
|||
|
|
|
|||
|
|
namespace ChatApp.Shared.MessagePackObjects
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Message information
|
|||
|
|
/// </summary>
|
|||
|
|
[MessagePackObject]
|
|||
|
|
public struct MessageResponse
|
|||
|
|
{
|
|||
|
|
[Key(0)]
|
|||
|
|
public string UserName { get; set; }
|
|||
|
|
|
|||
|
|
[Key(1)]
|
|||
|
|
public string Message { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|