@atala/prism-wallet-sdk / Exports / BasicMessage
Class: BasicMessage
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new BasicMessage(body
, from
, to
, thid?
): BasicMessage
Parameters
Name | Type |
---|---|
body | BasicMessageBody |
from | DID |
to | DID |
thid? | string |
Returns
Defined in
src/edge-agent/protocols/other/BasicMessage.ts:10
Properties
body
• body: BasicMessageBody
Defined in
src/edge-agent/protocols/other/BasicMessage.ts:11
from
• from: DID
Defined in
src/edge-agent/protocols/other/BasicMessage.ts:12
thid
• Optional
thid: string
Defined in
src/edge-agent/protocols/other/BasicMessage.ts:14
to
• to: DID
Defined in
src/edge-agent/protocols/other/BasicMessage.ts:13
type
▪ Static
type: ProtocolType
= ProtocolType.DidcommBasicMessage
Defined in
src/edge-agent/protocols/other/BasicMessage.ts:8
Methods
makeMessage
▸ makeMessage(): Message
Returns
Defined in
src/edge-agent/protocols/other/BasicMessage.ts:17
fromMessage
▸ fromMessage(fromMessage
): BasicMessage
Parameters
Name | Type |
---|---|
fromMessage | Message |