@elizaos/plugin-telegram 1.0.0 → 1.0.1

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 (1) hide show
  1. package/package.json +31 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-telegram",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -47,5 +47,35 @@
47
47
  "repository": {
48
48
  "type": "git",
49
49
  "url": "git+https://github.com/elizaos-plugins/plugin-telegram.git"
50
+ },
51
+ "agentConfig": {
52
+ "pluginType": "elizaos:plugin:1.0.0",
53
+ "pluginParameters": {
54
+ "TELEGRAM_BOT_TOKEN": {
55
+ "type": "string",
56
+ "description": "Telegram bot API token used by the plugin to authenticate and start the Telegram client.",
57
+ "required": true
58
+ },
59
+ "FRONTEND_URL": {
60
+ "type": "string",
61
+ "description": "Base URL of the frontend application, used to construct authentication link buttons in Telegram messages.",
62
+ "required": false
63
+ },
64
+ "TELEGRAM_API_ROOT": {
65
+ "type": "string",
66
+ "description": "Base URL for Telegram Bot API that TelegramService will use to send requests. Allows overriding the default Telegram API endpoint (e.g., when using a proxy or self-hosted instance).",
67
+ "required": false
68
+ },
69
+ "TELEGRAM_ALLOWED_CHATS": {
70
+ "type": "string",
71
+ "description": "JSON-encoded array of chat IDs that are permitted to interact with the bot. Used for authorization checks.",
72
+ "required": false
73
+ },
74
+ "TELEGRAM_TEST_CHAT_ID": {
75
+ "type": "string",
76
+ "description": "Telegram chat ID used by the test suite to send, receive, and validate messages during Telegram bot tests.",
77
+ "required": true
78
+ }
79
+ }
50
80
  }
51
81
  }