Source

Pigeon / src / IM.Shared / ChatMessage.cs

using System;
using Pigeon;

namespace IM.Shared
{
    [Message(1)]
    public class ChatMessage
    {
        [MessagePart(1)] public string Text { get; set; }
        [MessagePart(2)] public string Sender { get; set; }
    }
}