Class: MessengerClients
@pvm/notifications.MessengerClients
Constructors
constructor
• new MessengerClients()
Properties
messengers
• messengers: Map
<string
, AbstractMessengerClient
>
Defined in
packages/pvm-notifications/lib/messenger-clients.ts:4
Methods
get
â–¸ get(name
): undefined
| AbstractMessengerClient
Parameters
Name | Type |
---|---|
name | string |
Returns
undefined
| AbstractMessengerClient
Defined in
packages/pvm-notifications/lib/messenger-clients.ts:10
getAll
â–¸ getAll(): AbstractMessengerClient
[]
Returns
Defined in
packages/pvm-notifications/lib/messenger-clients.ts:14
getFirstAvailable
â–¸ getFirstAvailable(): undefined
| AbstractMessengerClient
Returns
undefined
| AbstractMessengerClient
Defined in
packages/pvm-notifications/lib/messenger-clients.ts:18
register
â–¸ register(name
, client
): void
Parameters
Name | Type |
---|---|
name | string |
client | AbstractMessengerClient |
Returns
void