leam-tech / frappe_telegram

Telegram Bot support for Frappe / ERPNext.
Other
34 stars 25 forks source link

feat: Telegram Message Template #9

Closed Abadulrehman closed 2 years ago

Abadulrehman commented 2 years ago

This PR adds:

  1. A new Doctype, Telegram Message Template. Using this, Templates can be defined to easily send messages like notifications through the use of Jinja tags. It also supports multi-language support.
  2. Adds the send_message_from_template to use these templates to send messages.

Also introduces a fix, some addition to documentation and a test for the new doc-type.