New Message NewMessage Record C# 1 2 3 4 5 6 7 8 9 10 11 12public enum ChatType { groupchat, chat, system } public record NewMessage( [property: JsonPropertyName("cid")] string ConversationId, [property: JsonPropertyName("message")] string Message, [property: JsonPropertyName("type")] string ChatType );