Provides a contract for receiving messages from the task orchestrator.

interface TaskAgentMessage {
    body?: string;
    iV?: number[];
    messageId?: number;
    messageType?: string;
}

Properties

body?: string

Gets or sets the body of the message. If the IV property is provided the body will need to be decrypted using the TaskAgentSession.EncryptionKey value in addition to the IV.

iV?: number[]

Gets or sets the initialization vector used to encrypt this message.

messageId?: number

Gets or sets the message identifier.

messageType?: string

Gets or sets the message type, describing the data contract found in TaskAgentMessage.Body.