Skip to main content

Class: SlackClient

@pvm/slack.SlackClient

Hierarchy

Constructors

constructor

• new SlackClient(name, config, clientConfig?)

Parameters

NameType
namestring
configConfig
clientConfigMessengerClientConfig

Inherited from

AbstractMessengerClient.constructor

Defined in

packages/pvm-notifications/lib/abstract-messenger-client.ts:8

Properties

clientConfig

• Protected clientConfig: MessengerClientConfig = {}

Inherited from

AbstractMessengerClient.clientConfig


config

• Protected config: Config

Inherited from

AbstractMessengerClient.config


name

• name: string

Inherited from

AbstractMessengerClient.name

Methods

getMessageWithDefaults

â–¸ getMessageWithDefaults(message): Message

Parameters

NameType
messageMessage

Returns

Message

Inherited from

AbstractMessengerClient.getMessageWithDefaults

Defined in

packages/pvm-notifications/lib/abstract-messenger-client.ts:11


internalSendMessage

â–¸ Protected internalSendMessage(message): Promise<void>

Parameters

NameType
messageMessage

Returns

Promise<void>

Overrides

AbstractMessengerClient.internalSendMessage

Defined in

packages/pvm-slack/lib/client.ts:19


isReady

â–¸ isReady(): boolean

Returns

boolean

Overrides

AbstractMessengerClient.isReady

Defined in

packages/pvm-slack/lib/client.ts:15


sendMessage

â–¸ sendMessage(message): Promise<void>

Parameters

NameType
messageMessage

Returns

Promise<void>

Inherited from

AbstractMessengerClient.sendMessage

Defined in

packages/pvm-notifications/lib/abstract-messenger-client.ts:22