Skip to main content

@pvm/mattermost

A client for mattermost messenger. Client implementing AbstractMessengerClient.

Required environment variables

PVM_MATTERMOST_TOKEN ΠΈ PVM_MATTERMOST_URL - for sending message via REST API

PVM_MATTERMOST_INCOMING_WEBHOOK - for sending via incoming webhooks

Enabling in project

.pvm.toml

...
[[notifications.clients]]
name = 'mattermost'
pkg = '@pvm/mattermost'

After that, depending on notifications settings, messages will be sending to mattermost messenger

Classes

Variables

MessengerClient

β€’ MessengerClient: typeof MattermostClient = MattermostClient

Defined in

packages/pvm-mattermost/lib/index.ts:154