Telegram notification module updated (#22858)

* msg_format parameter added
error message received from telegram API is added to fail json
compatibility with python3 added
* pep8 formatted
* version_added property added for msg_format
* bot token must be set without 'bot' prefix in module parameters
* formatting options described in documentation
* six module for compatibility used
telegram.py removed from legacy-files.txt
This commit is contained in:
Dmitry Sobolev 2017-04-09 00:53:35 +05:00 committed by Toshio Kuratomi
commit 1cf607d8a8
2 changed files with 34 additions and 12 deletions

View file

@ -659,7 +659,6 @@ lib/ansible/modules/notification/rocketchat.py
lib/ansible/modules/notification/sendgrid.py
lib/ansible/modules/notification/slack.py
lib/ansible/modules/notification/sns.py
lib/ansible/modules/notification/telegram.py
lib/ansible/modules/notification/twilio.py
lib/ansible/modules/packaging/language/bundler.py
lib/ansible/modules/packaging/language/cpanm.py