{ "name": "@elizaos/plugin-telegram", "version": "2.0.3-beta.7", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "eliza-source": { "types": "./src/index.ts", "import": "./src/index.ts", "default": "./src/index.ts" }, "import": "./dist/index.js", "default": "./dist/index.js" }, "./*.css": "./dist/*.css", "./*": { "types": "./dist/*.d.ts", "eliza-source": { "types": "./src/*.ts", "import": "./src/*.ts", "default": "./src/*.ts" }, "import": "./dist/*.js", "default": "./dist/*.js" } }, "files": [ "registry-entry.json", "dist" ], "dependencies": { "@elizaos/core": "workspace:*", "@elizaos/plugin-commands": "workspace:*", "@telegraf/types": "^7.1.0", "@types/node": "^24.0.10", "strip-literal": "^3.0.0", "telegraf": "4.16.3", "telegram": "^2.26.22", "type-detect": "^4.1.0" }, "devDependencies": { "@biomejs/biome": "2.5.3", "@elizaos/config": "latest", "@elizaos/test-harness": "workspace:*", "tsup": "^8.5.1", "typescript": "^6.0.3", "vitest": "^4.0.0" }, "scripts": { "build": "tsup && tsc --project tsconfig.build.json --noCheck", "dev": "tsup --watch", "typecheck": "tsgo --noEmit -p tsconfig.json", "test": "vitest run", "test:harness": "bunx vitest run --config vitest.harness.config.ts", "test:watch": "vitest", "lint": "bunx @biomejs/biome check --write --unsafe .", "lint:check": "bunx @biomejs/biome check .", "clean": "node ../../packages/scripts/rm-path-recursive.mjs dist .turbo .turbo-tsconfig.json tsconfig.tsbuildinfo", "format": "bunx @biomejs/biome format --write .", "format:check": "bunx @biomejs/biome format .", "test:e2e": "node ../../packages/app-core/scripts/run-local-plugin-live-smoke.mjs", "test:live": "bun run test:e2e" }, "publishConfig": { "access": "public" }, "gitHead": "646c632924826e2b75c2304a75ee56959fe4a460", "repository": { "type": "git", "url": "git+https://github.com/elizaos-plugins/plugin-telegram.git" }, "agentConfig": { "pluginType": "elizaos:plugin:1.0.0", "pluginParameters": { "TELEGRAM_API_ROOT": { "type": "string", "description": "Base URL for Telegram Bot API used by the TelegramService, allowing override of the default API endpoint.", "required": false, "sensitive": false }, "TELEGRAM_BOT_TOKEN": { "type": "string", "description": "Telegram bot token used for authenticating and operating the Telegram bot.", "required": true, "sensitive": true }, "TELEGRAM_ALLOWED_CHATS": { "type": "string", "description": "JSON-encoded array of Telegram chat IDs that are authorized to interact with the bot.", "required": false, "sensitive": false }, "TELEGRAM_TEST_CHAT_ID": { "type": "string", "description": "Telegram chat ID used by the test suite to send, receive, and validate messages during Telegram bot tests.", "required": false, "sensitive": false } }, "configUiHints": { "TELEGRAM_ALLOWED_CHATS": { "modeToggle": { "kind": "mode-toggle-with-hidden-field", "enabledLabel": "Allow all chats", "disabledLabel": "Allow only specific chats", "enabledHelp": "Bot will respond in any chat", "disabledHelp": "Bot will only respond in listed chat IDs", "hiddenValue": "", "restoreValue": "[]" } } } } }