
Send a message to a mattermost server
alert_mattermost.RdSend a message to a mattermost server
Arguments
- msg
character, the message to be sent. Each element is a considered as a line.
- server
character, the address of the mattermost server.
- hook
character, the ID of the webhook defined in the mattermost server.
- user
character, the name of the user.
- channel
character, the ID of the channel. Default to NULL, in that case, the default channel defined at mattermost server level fot the webhook will be used.
- alert
logical, should the alert be send to the mattermost server.