This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Notifier/Bridge/Telegram
Fabien Potencier f4668b5f14 feature #36496 [Notifier] added telegram options (krasilnikovm)
This PR was merged into the 5.2-dev branch.

Discussion
----------

[Notifier] added telegram options

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| License       | MIT

I have added `TelegramOptions` model for sending a telegram message with options like the example I have used  `SlackOptions`.

Testing notes:
1) Create telegram bot https://core.telegram.org/bots#creating-a-new-bot
2) Open telegram and join to the created chat
3) Send a message to telegram
for testing, I used  the scripts
[scripts.zip](https://github.com/symfony/symfony/files/4499901/scripts.zip)

Commits
-------

3ba8d8f135 [Notifier] added telegram options
2020-08-09 10:44:53 +02:00
..
Reply/Markup [Notifier] added telegram options 2020-08-07 22:08:56 +03:00
Tests feature #36496 [Notifier] added telegram options (krasilnikovm) 2020-08-09 10:44:53 +02:00
.gitattributes Merge branch '4.4' 2019-10-22 19:21:12 +02:00
CHANGELOG.md [Notifier] added the component 2019-10-05 12:48:03 +02:00
composer.json Add Notifier SentMessage 2020-06-23 09:04:45 +02:00
LICENSE Update year in license files 2020-01-01 15:53:07 +01:00
phpunit.xml.dist [Notifier] added the component 2019-10-05 12:48:03 +02:00
README.md [Notifier] added the component 2019-10-05 12:48:03 +02:00
TelegramOptions.php [Notifier] added telegram options 2020-08-07 22:08:56 +03:00
TelegramTransport.php feature #36496 [Notifier] added telegram options (krasilnikovm) 2020-08-09 10:44:53 +02:00
TelegramTransportFactory.php [Notifier] Throw an exception when the Slack DSN is not valid 2020-04-21 15:15:11 +02:00

Telegram Notifier

Provides Telegram integration for Symfony Notifier.

Resources