ExtraChat/client/ExtraChat/Protocol/UpdateKind.cs

13 lines
281 B
C#
Raw Normal View History

2022-07-08 02:58:32 +00:00
using ExtraChat.Formatters;
using MessagePack;
namespace ExtraChat.Protocol;
[Serializable]
[MessagePackObject]
[MessagePackFormatter(typeof(UpdateKindFormatter))]
public abstract record UpdateKind {
[MessagePackObject]
public record Name(byte[] NewName) : UpdateKind;
}