1ceaaa15f9 | ||
---|---|---|
.. | ||
AuthenticationFailure.handlebars | ||
AuthenticationSuccess.handlebars | ||
ItemAdded.handlebars | ||
PlaybackStart.handlebars | ||
PluginUpdated.handlebars | ||
README.md | ||
SessionStart.handlebars |
README.md
Telegram
Webhook: Use Generic Destination.
To be able to send photo, you need Server URL which can be accessed from web
Webhook URL:
# Message
https://api.telegram.org/bot<id>:<token>/sendMessage
# Photo
https://api.telegram.org/bot<id>:<token>/sendPhoto
To get the chatid:
- start a chat with your bot
- add
@get_id_bot
- issue the
/my_id
command
After adding the template add a request header as follows:
Key:
Content-Type
Value:
application/json