Skip to content

Commit 795d1af

Browse files
committed
Merge branch '1.x' of https://github.com/elizaos-plugins/plugin-telegram into odi-dm
2 parents 99d0075 + afd9c35 commit 795d1af

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

package.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elizaos/plugin-telegram",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"type": "module",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
@@ -47,5 +47,34 @@
4747
"repository": {
4848
"type": "git",
4949
"url": "git+https://github.com/elizaos-plugins/plugin-telegram.git"
50+
},
51+
"agentConfig": {
52+
"pluginType": "elizaos:plugin:1.0.0",
53+
"pluginParameters": {
54+
"TELEGRAM_API_ROOT": {
55+
"type": "string",
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
59+
},
60+
"TELEGRAM_BOT_TOKEN": {
61+
"type": "string",
62+
"description": "Telegram bot token used for authenticating and operating the Telegram bot.",
63+
"required": true,
64+
"sensitive": true
65+
},
66+
"TELEGRAM_ALLOWED_CHATS": {
67+
"type": "string",
68+
"description": "JSON-encoded array of Telegram chat IDs that are authorized to interact with the bot.",
69+
"required": false,
70+
"sensitive": false
71+
},
72+
"TELEGRAM_TEST_CHAT_ID": {
73+
"type": "string",
74+
"description": "Telegram chat ID used by the test suite to send, receive, and validate messages during Telegram bot tests.",
75+
"required": true,
76+
"sensitive": false
77+
}
78+
}
5079
}
5180
}

0 commit comments

Comments
 (0)