Skip to content

[Notifier] Add GoogleChat to the list of supported chat transports #14018

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
Aug 21, 2020

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Jul 31, 2020

Documentation for symfony/symfony#36488

@xabbuh xabbuh added the Waiting Code Merge Docs for features pending to be merged label Aug 3, 2020
@xabbuh xabbuh added this to the next milestone Aug 3, 2020
fabpot added a commit to symfony/symfony that referenced this pull request Aug 7, 2020
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

[Notifier] Add Google Chat bridge

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #35875
| License       | MIT
| Doc PR        | symfony/symfony-docs#14018

Uses the webhook to send messages.
```php
$transport = (new GoogleChatTransportFactory())
    ->create(Dsn::fromString('googlechat://<key>:<token>@default/<space>?threadKey=<thread>'));
```

The `threadKey` can be any string, it allows to post all messages to the same thread instead of creating a new thread for each message.

Example of notification for exceptions:
![image](https://user-images.githubusercontent.com/400034/79625049-7a5ee080-8126-11ea-9216-588309642bd3.png)

Commits
-------

c4cda75 [Notifier] Add Google Chat bridge
@GromNaN
Copy link
Member Author

GromNaN commented Aug 11, 2020

Package name has been updated according to this change: symfony/symfony@2318170

@OskarStark OskarStark modified the milestones: next, 5.2 Aug 14, 2020
@OskarStark OskarStark removed the Waiting Code Merge Docs for features pending to be merged label Aug 14, 2020
@xabbuh
Copy link
Member

xabbuh commented Aug 21, 2020

Thank you @GromNaN.

@xabbuh xabbuh merged commit aeca8d7 into symfony:master Aug 21, 2020
@GromNaN GromNaN deleted the google-chat branch August 21, 2020 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants