BasicMessage
@hyperledger/identus-sdk v8.0.0
@hyperledger/identus-sdk / plugins/internal/didcomm / BasicMessage
Class: BasicMessage
Defined in: packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:14
Constructors
Constructor
new BasicMessage(
body:BasicMessageBody,from:DID,to:DID,thid?:string):BasicMessage
Defined in: packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:17
Parameters
| Parameter | Type |
|---|---|
body | BasicMessageBody |
from | DID |
to | DID |
thid? | string |
Returns
BasicMessage
Properties
| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
body | public | BasicMessageBody | undefined | packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:18 |
from | public | DID | undefined | packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:19 |
thid? | public | string | undefined | packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:21 |
to | public | DID | undefined | packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:20 |
type | static | "https://didcomm.org/basicmessage/2.0/message" | ProtocolIds.BasicMessage | packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:15 |
Methods
makeMessage()
makeMessage():
Message
Defined in: packages/lib/sdk/src/plugins/internal/didcomm/protocols/other/BasicMessage.ts:24