MessageSender

MessageSender

Primary interface for sending messages to peers (or your other devices).

Constructor

new MessageSender(options)

Source:
Parameters:
Name Type Description
options Object
Properties
Name Type Description
addr string Your signal address (e.g. your account UUID)
signal SignalClient
atlas AtlasClient
Fires:

Methods

(async, static) factory() → {MessageSender}

Source:
Return a default instance.
Returns:
Type
MessageSender

(async) send(options) → {OutgoingMessage}

Source:
Send a message
Parameters:
Name Type Description
options SendOptions
Returns:
Type
OutgoingMessage

Events

error

Source:
Properties:
Name Type Description
error Error
Type:

keychange

Source:
Type: