@elizaos/plugin-telegram 1.0.1 → 1.0.2
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.
- package/package.json +14 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-telegram",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -51,30 +51,29 @@
|
|
|
51
51
|
"agentConfig": {
|
|
52
52
|
"pluginType": "elizaos:plugin:1.0.0",
|
|
53
53
|
"pluginParameters": {
|
|
54
|
-
"
|
|
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": {
|
|
54
|
+
"TELEGRAM_API_ROOT": {
|
|
60
55
|
"type": "string",
|
|
61
|
-
"description": "Base URL
|
|
62
|
-
"required": false
|
|
56
|
+
"description": "Base URL for Telegram Bot API used by the TelegramService, allowing override of the default API endpoint.",
|
|
57
|
+
"required": false,
|
|
58
|
+
"sensitive": false
|
|
63
59
|
},
|
|
64
|
-
"
|
|
60
|
+
"TELEGRAM_BOT_TOKEN": {
|
|
65
61
|
"type": "string",
|
|
66
|
-
"description": "
|
|
67
|
-
"required":
|
|
62
|
+
"description": "Telegram bot token used for authenticating and operating the Telegram bot.",
|
|
63
|
+
"required": true,
|
|
64
|
+
"sensitive": true
|
|
68
65
|
},
|
|
69
66
|
"TELEGRAM_ALLOWED_CHATS": {
|
|
70
67
|
"type": "string",
|
|
71
|
-
"description": "JSON-encoded array of chat IDs that are
|
|
72
|
-
"required": false
|
|
68
|
+
"description": "JSON-encoded array of Telegram chat IDs that are authorized to interact with the bot.",
|
|
69
|
+
"required": false,
|
|
70
|
+
"sensitive": false
|
|
73
71
|
},
|
|
74
72
|
"TELEGRAM_TEST_CHAT_ID": {
|
|
75
73
|
"type": "string",
|
|
76
74
|
"description": "Telegram chat ID used by the test suite to send, receive, and validate messages during Telegram bot tests.",
|
|
77
|
-
"required": true
|
|
75
|
+
"required": true,
|
|
76
|
+
"sensitive": false
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
79
|
}
|