Class: SlackClient
@pvm/slack.SlackClient
Hierarchy
↳
SlackClient
Constructors
constructor
• new SlackClient(name
, config
, clientConfig?
)
Parameters
Name | Type |
---|---|
name | string |
config | Config |
clientConfig | MessengerClientConfig |
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
Methods
getMessageWithDefaults
â–¸ getMessageWithDefaults(message
): Message
Parameters
Name | Type |
---|---|
message | Message |
Returns
Inherited from
AbstractMessengerClient.getMessageWithDefaults
Defined in
packages/pvm-notifications/lib/abstract-messenger-client.ts:11
internalSendMessage
â–¸ Protected
internalSendMessage(message
): Promise
<void
>
Parameters
Name | Type |
---|---|
message | Message |
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
Name | Type |
---|---|
message | Message |
Returns
Promise
<void
>
Inherited from
AbstractMessengerClient.sendMessage
Defined in
packages/pvm-notifications/lib/abstract-messenger-client.ts:22