Skip to main content

IDIDCommMessage interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The DIDComm message structure. See https://identity.foundation/didcomm-messaging/spec/\#plaintext-message-structure

This API may change without a BREAKING CHANGE notice.

Signature:

export interface IDIDCommMessage

Properties

Property

Modifiers

Type

Description

attachments?

IDIDCommMessageAttachment[]

(BETA) (Optional)

body?

any

(BETA) (Optional)

created_time?

string

(BETA) (Optional)

expires_time?

string

(BETA) (Optional)

from_prior?

string

(BETA) (Optional)

from?

string

(BETA) (Optional)

id

string

(BETA)

next?

string

(BETA) (Optional)

pthid?

string

(BETA) (Optional)

return_route?

string

(BETA) (Optional)

thid?

string

(BETA) (Optional)

to?

string[]

(BETA) (Optional)

type

string

(BETA)