integram-mcp 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -802,6 +802,7 @@ Bot config schema: { description?: "...", shortDescription?: "...", welcomeMessa
802
802
  Bot reactions (commands + keywords) are stored as **automations** with trigger.botId — use create_automation with:
803
803
  - Command: trigger: { type: "on_telegram_command", command: "status", botId: N }
804
804
  - Keyword: trigger: { type: "on_telegram_message", pattern: "привет,hello", matchMode: "contains", botId: N }
805
+ - Intake (every message, incl. media): trigger: { type: "on_telegram_message", botId: N } — no pattern. Optional messageTypes: ["voice","document"]. Runs alongside keyword rules; template vars _message, _message_type, _from_user_id, _message_id, _date, _file_id, _file_name
805
806
  - Payment: trigger: { type: "on_telegram_payment", botId: N } — fires on successful payment
806
807
  - Pre-checkout: trigger: { type: "on_telegram_pre_checkout", botId: N } — validate before charging
807
808
  - Shipping: trigger: { type: "on_telegram_shipping", botId: N } — provide shipping options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integram-mcp",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "description": "MCP server for Integram — connect AI assistants to your workspace via Model Context Protocol",
6
6
  "mcpName": "io.github.judas-priest/integram",