ExtraChat/client/ExtraChat/Protocol/LeaveResponse.cs

16 lines
279 B
C#

using ExtraChat.Formatters;
using MessagePack;
namespace ExtraChat.Protocol;
[Serializable]
[MessagePackObject]
public class LeaveResponse {
[Key(0)]
[MessagePackFormatter(typeof(BinaryUuidFormatter))]
public Guid Channel;
[Key(1)]
public string? Error;
}