Class: AbstractMessengerClient
@pvm/notifications.AbstractMessengerClient
Hierarchy
AbstractMessengerClient
↳
MattermostClient
↳
SlackClient
Constructors
constructor
• new AbstractMessengerClient(name
, config
, clientConfig?
)
Parameters
Name | Type |
---|---|
name | string |
config | Config |
clientConfig | MessengerClientConfig |
Defined in
packages/pvm-notifications/lib/abstract-messenger-client.ts:8
Properties
clientConfig
• Protected
clientConfig: MessengerClientConfig
= {}
config
• Protected
config: Config
name
• name: string
Methods
getMessageWithDefaults
â–¸ getMessageWithDefaults(message
): Message
Parameters
Name | Type |
---|---|
message | Message |
Returns
Defined in
packages/pvm-notifications/lib/abstract-messenger-client.ts:11
internalSendMessage
â–¸ Protected
Abstract
internalSendMessage(message
): Promise
<void
>
Parameters
Name | Type |
---|---|
message | Message |
Returns
Promise
<void
>
Defined in
packages/pvm-notifications/lib/abstract-messenger-client.ts:36
isReady
â–¸ Abstract
isReady(): boolean
Returns
boolean
Defined in
packages/pvm-notifications/lib/abstract-messenger-client.ts:20
sendMessage
â–¸ sendMessage(message
): Promise
<void
>
Parameters
Name | Type |
---|---|
message | Message |
Returns
Promise
<void
>
Defined in
packages/pvm-notifications/lib/abstract-messenger-client.ts:22