Skip to content

Commit afd9c35

Browse files
author
Agent Config Scanner
committed
chore: update agentConfig and bump version
1 parent ee59f9d commit afd9c35

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

package.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elizaos/plugin-telegram",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"type": "module",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
@@ -51,30 +51,29 @@
5151
"agentConfig": {
5252
"pluginType": "elizaos:plugin:1.0.0",
5353
"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": {
54+
"TELEGRAM_API_ROOT": {
6055
"type": "string",
61-
"description": "Base URL of the frontend application, used to construct authentication link buttons in Telegram messages.",
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
6359
},
64-
"TELEGRAM_API_ROOT": {
60+
"TELEGRAM_BOT_TOKEN": {
6561
"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
62+
"description": "Telegram bot token used for authenticating and operating the Telegram bot.",
63+
"required": true,
64+
"sensitive": true
6865
},
6966
"TELEGRAM_ALLOWED_CHATS": {
7067
"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
68+
"description": "JSON-encoded array of Telegram chat IDs that are authorized to interact with the bot.",
69+
"required": false,
70+
"sensitive": false
7371
},
7472
"TELEGRAM_TEST_CHAT_ID": {
7573
"type": "string",
7674
"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
7877
}
7978
}
8079
}

0 commit comments

Comments
 (0)