Interface: Messenger
messenger.Messenger
Generic interface for sending messages to users
Implemented by
Methods
send
▸ send<T
>(addr
, msg
): Promise
<void
>
Sends a message to a given address
Type parameters
Name | Type |
---|---|
T |
extends MessageData |
Parameters
Name | Type |
---|---|
addr |
string |
msg |
Message <T > |
Returns
Promise
<void
>