Skip to main content

Class: AbstractMessengerClient

@pvm/notifications.AbstractMessengerClient

Hierarchy

Constructors

constructor

• new AbstractMessengerClient(name, config, clientConfig?)

Parameters

NameType
namestring
configConfig
clientConfigMessengerClientConfig

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

NameType
messageMessage

Returns

Message

Defined in

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


internalSendMessage

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

Parameters

NameType
messageMessage

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

NameType
messageMessage

Returns

Promise<void>

Defined in

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