{"id":16390307,"url":"https://github.com/qertis/telegram-bot-api-express","last_synced_at":"2026-02-15T01:34:23.263Z","repository":{"id":65184938,"uuid":"584203056","full_name":"qertis/telegram-bot-api-express","owner":"qertis","description":"Simple and powerful Telegram Bot API expressjs middleware.","archived":false,"fork":false,"pushed_at":"2025-01-28T09:06:24.000Z","size":1046,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T01:35:15.845Z","etag":null,"topics":["telegram-bot","telegram-bot-api","telegram-bot-api-express","telegram-bot-example"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/telegram-bot-api-express","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qertis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-01T20:16:00.000Z","updated_at":"2025-01-28T09:06:28.000Z","dependencies_parsed_at":"2024-07-13T07:46:39.629Z","dependency_job_id":"d24e8172-46df-43c0-bba9-3e434fd776fa","html_url":"https://github.com/qertis/telegram-bot-api-express","commit_stats":null,"previous_names":["qertis/telegram-bot-express"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qertis/telegram-bot-api-express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qertis%2Ftelegram-bot-api-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qertis%2Ftelegram-bot-api-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qertis%2Ftelegram-bot-api-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qertis%2Ftelegram-bot-api-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qertis","download_url":"https://codeload.github.com/qertis/telegram-bot-api-express/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qertis%2Ftelegram-bot-api-express/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29464285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T01:01:38.065Z","status":"ssl_error","status_checked_at":"2026-02-15T01:01:23.809Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["telegram-bot","telegram-bot-api","telegram-bot-api-express","telegram-bot-example"],"created_at":"2024-10-11T04:42:47.229Z","updated_at":"2026-02-15T01:34:23.245Z","avatar_url":"https://github.com/qertis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Bot API Express\n\nSimple and powerful Telegram Bot API express.js middleware.\n\n## Install\n\n```bash\nnpm i telegram-bot-api-express --save\n```\n\n## Dependencies\n- [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api)\n\n## PeerDependencies\n- express\n- body-parser\n\n## Usage\n\n```javascript\nconst express = require('express');\nconst telegramBotExpress = require('telegram-bot-api-express');\n\nconst app = express();\napp.use(telegramExpress({\n    token: 'YOUR_TELEGRAM_BOT_TOKEN',\n    domain: 'http://127.0.0.1',\n    privateEvents: {\n        // Listen for any kind of message. There are different kinds of messages.\n        ['message']: (bot, message) =\u003e {\n            bot.sendMessage(message.chat.id, 'Hello World');\n        },\n        // Matches \"/echo [whatever]\"\n        [/\\/echo (.+)/]: (bot, message) =\u003e {\n            bot.sendChatAction(message.chat.id, 'typing');\n            bot.sendMessage(message.chat.id, 'PONG');\n        },\n    },\n    onError(bot, error) {\n        console.error(error);\n    }\n}).middleware);\napp.listen(8080, () =\u003e {});\n```\n\n## More other telegram types!\nMake [native types](https://core.telegram.org/bots/api) and use those types: \n\n```\nedited_message_text\nbot_command\nreply_to_message\nmention\nchannel_post\nauth_by_contact\nmessage_forwards\nerror\n```\n\n## Test\n\u003e See tests directory\n\nUsing [Ava](https://github.com/avajs/ava). \n\n```bash\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqertis%2Ftelegram-bot-api-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqertis%2Ftelegram-bot-api-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqertis%2Ftelegram-bot-api-express/lists"}