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