Class GoalEventForwardingMessageClient
Hierarchy
GoalEventForwardingMessageClient
Implements
MessageClient
SlackMessageClient
Methods
addressChannels
addressChannels( msg: string | SlackMessage , channels: string | string [] , options?: MessageOptions ) : Promise < any >
Parameters
msg: string | SlackMessage
channels: string | string []
Optional options: MessageOptions
Returns Promise < any >
addressUsers
addressUsers( msg: string | SlackMessage , users: string | string [] , options?: MessageOptions ) : Promise < any >
Parameters
msg: string | SlackMessage
users: string | string []
Optional options: MessageOptions
Returns Promise < any >
respond
respond( msg: string | SlackMessage , options?: MessageOptions ) : Promise < any >
Parameters
msg: string | SlackMessage
Optional options: MessageOptions
Returns Promise < any >
send
send( msg: any , destinations: Destination | Destination [] , options?: MessageOptions ) : Promise < any >
Parameters
msg: any
destinations: Destination | Destination []
Optional options: MessageOptions
Returns Promise < any >
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Runs inside an SDM in local mode. As Goal storage uses a MessageClient, this enables a local SDM to react to goals that it has set. This implementation ignores other messages and forwards goals only. Will onDispatch goal events to the appropriate event handler within the SDM at the known address.