Table of Contents

Class MessageHeaders

Namespace
SenseAnywhere.Sdk.Messages.Headers
Assembly
SenseAnywhere.Sdk.dll

Represents communication information about a webhook message.

public class MessageHeaders
Inheritance
MessageHeaders
Derived
Inherited Members

Constructors

MessageHeaders(string, MessageRecipient, DateTime)

Initializes a new instance of the MessageHeaders class.

public MessageHeaders(string messageId, MessageRecipient to, DateTime timeStamp)

Parameters

messageId string

The unique identifier for the message.

to MessageRecipient

The recipient (Company/Division name) of the message.

timeStamp DateTime

The date and time when the message was sent.

Properties

MessageId

Gets the unique identifier for the message.

public string MessageId { get; }

Property Value

string

TimeStamp

Gets the date and time when the message was sent.

public DateTime TimeStamp { get; }

Property Value

DateTime

To

Gets the recipient (Company/Division) of the message.

public MessageRecipient To { get; }

Property Value

MessageRecipient