Skip to content

symfony/notifier with Microsoft Teams #49066

Answered by MatTheCat
CyrilCharlier asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

it seems you’re confusing channels with transports. Here, symfony/microsoft-teams-notifier provides a transport for the chat channel, so your notification should be

$notification = (new Notification('Test Cyril', ['chat']))
            ->content('Test Chatter In Channel');

Note that if you know you’ll always use this transport you can use the Chatter rather than the Notifier: https://symfony.com/doc/current/notifier/teams.html

Replies: 1 suggested answer 1 reply

Comment options

You must be logged in to vote
1 reply
@CyrilCharlier
Comment options

Answer selected by CyrilCharlier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants