> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# messaging

**Experimental.** For evaluation. Interfaces, configuration, and behavior may change incompatibly.

Builds message and work-item revisions for other integrations to apply.

### Prerequisites

* None.

### Setup

* Loads automatically. No configuration needed.

* [Module documentation](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/modules/messaging/README.md).

messaging module

## Members

* [elements](#elements)
* [format](#format)
* [assignment](#assignment)
* [attachment](#attachment)
* [comment](#comment)
* [field](#field)
* [link](#link)
* [mention](#mention)
* [message](#message)
* [metadata](#metadata)
* [revision](#revision)
* [status](#status)
* [tags](#tags)

## elements

Element type constants for use in revision headers.

## format

MIME content-type constants for use in revision content.

## assignment

Create an assignment revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.

## attachment

Create an attachment revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.

## comment

Create a comment revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.

## field

Create a field revision.

The name of the field.

The field value. You may specify multiple content representations by providing a dict of content-type to value, e.g., messaging.field("fieldname", \{ "text/html": "\<span>this is html\</span>" })

A dict of header values for the revision.

A revision describing what part and how the message is changed.

## link

Create a link revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.

## mention

Create a mention revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.

## message

Create a message body revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.

## metadata

Create a metadata revision.

The metadata key.

The metadata value. You may specify multiple content representations by providing a dict of content-type to value.

A dict of header values for the revision.

A revision describing what part and how the message is changed.

## revision

Create a messaging revision.

A dict of header values (metadata) for the revision.

A dict of content-type to value body representations.

A revision describing what part and how the message is changed.

## status

Create a status revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.

## tags

Create a tags revision.

The element value. A string becomes text/plain; a list of strings becomes text/x-token-list; a dict of content-type to value sets multiple representations.

A dict of additional header values for the revision.

A revision describing what part and how the message is changed.