20 lines
540 B
C#
20 lines
540 B
C#
namespace MessengerApi.Contracts
|
|
{
|
|
/// <summary>
|
|
/// Outbox type of message. A server-app will treat this as a response. A client app will treat this as a request.
|
|
/// </summary>
|
|
public class OutboxMessage
|
|
{
|
|
public Guid? ToUserId { get; set; }
|
|
|
|
public string PayloadId { get; set; }
|
|
|
|
public string PayloadType { get; set; }
|
|
|
|
public string Payload { get; set; }
|
|
|
|
public DateTime? PayloadTimestamp { get; set; }
|
|
|
|
public int? PayloadLifespanInSeconds { get; set; }
|
|
}
|
|
} |