using System.Collections.Generic; using MQTTnet.Packets; using MQTTnet.Protocol; namespace MQTTnet { public class MqttApplicationMessage { public string Topic { get; set; } public byte[] Payload { get; set; } public MqttQualityOfServiceLevel QualityOfServiceLevel { get; set; } public bool Retain { get; set; } public List UserProperties { get; set; } public string ContentType { get; set; } public string ResponseTopic { get; set; } public MqttPayloadFormatIndicator? PayloadFormatIndicator { get; set; } public uint? MessageExpiryInterval { get; set; } public ushort? TopicAlias { get; set; } public byte[] CorrelationData { get; set; } public List SubscriptionIdentifiers { get; set; } } }