using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IcgSoftware.Threema.CoreMsgApi.Messages { /// /// Abstract base class of messages that can be sent with end-to-end encryption via Threema. /// public abstract class ThreemaMessage { public const int NONCEBYTES = 24; public const int BLOB_ID_LEN = 16; /// /// Get message's raw content /// /// public abstract byte[] GetData(); /// /// Get message's type code /// /// public abstract int GetTypeCode(); } }