Adding your own Telegram commands: Difference between revisions
From Planfix
(Created page with "You can use scripts to add your own commands for completing Planfix actions from external sources (such as chats, messengers, email, etc.) that are linked to Planfix using int...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
You can use scripts to add your own commands for completing Planfix actions from external sources (such as chats, messengers, email, etc.) that are linked to Planfix using integrations. | You can use [[scripts]] to add your own commands for completing Planfix actions from external sources (such as chats, messengers, email, etc.) that are linked to Planfix using [[integrations]]. | ||
Line 5: | Line 5: | ||
A sample script for the #complete command, which can be used to complete a task from Telegram: | A sample script for the '''#complete''' command, which can be used to complete a task from [[Telegram]]: | ||
https://pic.planfix.ru/pf/nc/aWCYl3.png | https://pic.planfix.ru/pf/nc/aWCYl3.png | ||
==Go To== | |||
*[[Telegram]] | |||
*[[Integrations]] | |||
*[[Feature Description]] |
Latest revision as of 04:45, 21 February 2020
You can use scripts to add your own commands for completing Planfix actions from external sources (such as chats, messengers, email, etc.) that are linked to Planfix using integrations.
To do this, a script is used that is triggered by the event of adding a new action, and the script analyzes the comment text. The command is isolated from the text, and the actions you have specified are executed.
A sample script for the #complete command, which can be used to complete a task from Telegram: