Skip to content

[Notifier] Added the Mattermost and RocketChat integrations #13102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions notifier.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,18 @@ The chat channel is used to send chat messages to users by using
:class:`Symfony\\Component\\Notifier\\Chatter` classes. Symfony provides
integration with these chat services:

======== ============================= ============================================
Service Package DSN
======== ============================= ============================================
Slack ``symfony/slack-notifier`` ``slack://TOKEN@default?channel=CHANNEL``
Telegram ``symfony/telegram-notifier`` ``telegram://TOKEN@default?channel=CHAT_ID``
======== ============================= ============================================
========== =============================== ============================================
Service Package DSN
========== =============================== ============================================
Slack ``symfony/slack-notifier`` ``slack://TOKEN@default?channel=CHANNEL``
Telegram ``symfony/telegram-notifier`` ``telegram://TOKEN@default?channel=CHAT_ID``
Mattermost ``symfony/mattermost-notifier`` ``mattermost://ENDPOINT?channel=CHANNEL``
RocketChat ``symfony/rocketchat-notifier`` ``rocketchat://ENDPOINT?channel=CHANNEL``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to be too late to this party, but the DSN can be a bit more specific (as done for the other DSNs). See the xxxTransportFactory::create($dsn) methods of what to expect:

RocketChat: rocketchat://TOKEN@ENDPOINT?channel=CHANNEL
Mattermost: mattermost://TOKEN@ENDPOINT?channel=CHANNEL

========== =============================== ============================================

.. versionadded:: 5.1

The Mattermost and RocketChat integrations were introduced in Symfony 5.1.

Chatters are configured using the ``chatter_transports`` setting:

Expand Down