Skip to main content

@atala/prism-wallet-sdk / Exports / BasicMessage

Class: BasicMessage

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BasicMessage(body, from, to, thid?): BasicMessage

Parameters

NameType
bodyBasicMessageBody
fromDID
toDID
thid?string

Returns

BasicMessage

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

Message

Defined in

src/edge-agent/protocols/other/BasicMessage.ts:17


fromMessage

fromMessage(fromMessage): BasicMessage

Parameters

NameType
fromMessageMessage

Returns

BasicMessage

Defined in

src/edge-agent/protocols/other/BasicMessage.ts:30