Skip to content

Commit ee59f9d

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

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

package.json

Lines changed: 31 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.1",
44
"type": "module",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
@@ -47,5 +47,35 @@
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_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+
}
5080
}
5181
}

0 commit comments

Comments
 (0)