[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10166":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},10166,"node-telegram-bot-api","yagop\u002Fnode-telegram-bot-api","yagop","Telegram Bot API for NodeJS","",null,"JavaScript",9162,1641,155,100,0,3,25,1,40.65,"MIT License",false,"master",true,[26,27,28,29,30,31],"api","bot","bot-framework","chatbot","nodejs","telegram","2026-06-12 02:02:17","\u003Ch1 align=\"center\">Node.js Telegram Bot API\u003C\u002Fh1>\n\n\u003Cdiv align=\"center\">\n\nNode.js module to interact with the official [Telegram Bot API](https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi).\n\n\n[![Bot API](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FBot%20API-v.9.6-00aced.svg?style=flat-square&logo=telegram)](https:\u002F\u002Fcore.telegram.org\u002Fbots\u002Fapi)\n[![npm package](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fnode-telegram-bot-api?logo=npm&style=flat-square)](https:\u002F\u002Fwww.npmjs.org\u002Fpackage\u002Fnode-telegram-bot-api)\n[![Coverage Status](https:\u002F\u002Fimg.shields.io\u002Fcodecov\u002Fc\u002Fgithub\u002Fyagop\u002Fnode-telegram-bot-api?style=flat-square&logo=codecov)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fyagop\u002Fnode-telegram-bot-api)\n\n[![https:\u002F\u002Ftelegram.me\u002Fnode_telegram_bot_api](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F💬%20Telegram-Channel-blue.svg?style=flat-square)](https:\u002F\u002Ftelegram.me\u002Fnode_telegram_bot_api)\n[![https:\u002F\u002Ft.me\u002F+_IC8j_b1wSFlZTVk](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F💬%20Telegram-Group-blue.svg?style=flat-square)](https:\u002F\u002Ft.me\u002F+_IC8j_b1wSFlZTVk)\n[![https:\u002F\u002Ftelegram.me\u002FYago_Perez](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F💬%20Telegram-Yago_Perez-blue.svg?style=flat-square)](https:\u002F\u002Ftelegram.me\u002FYago_Perez)\n\n\u003C\u002Fdiv>\n\n## 📦 Install\n\n```sh\nnpm i node-telegram-bot-api\n```\n\n\u003Cbr\u002F>\n\n> ✍️ **Note:** If you use Typescript you can install this package that contains type definitions for this library\n>```sh\n>npm install --save-dev @types\u002Fnode-telegram-bot-api\n>```\n\n## 🚀 Usage\n\n```js\nconst TelegramBot = require('node-telegram-bot-api');\n\n\u002F\u002F replace the value below with the Telegram token you receive from @BotFather\nconst token = 'YOUR_TELEGRAM_BOT_TOKEN';\n\n\u002F\u002F Create a bot that uses 'polling' to fetch new updates\nconst bot = new TelegramBot(token, {polling: true});\n\n\u002F\u002F Matches \"\u002Fecho [whatever]\"\nbot.onText(\u002F\\\u002Fecho (.+)\u002F, (msg, match) => {\n  \u002F\u002F 'msg' is the received Message from Telegram\n  \u002F\u002F 'match' is the result of executing the regexp above on the text content\n  \u002F\u002F of the message\n\n  const chatId = msg.chat.id;\n  const resp = match[1]; \u002F\u002F the captured \"whatever\"\n\n  \u002F\u002F send back the matched \"whatever\" to the chat\n  bot.sendMessage(chatId, resp);\n});\n\n\u002F\u002F Listen for any kind of message. There are different kinds of\n\u002F\u002F messages.\nbot.on('message', (msg) => {\n  const chatId = msg.chat.id;\n\n  \u002F\u002F send a message to the chat acknowledging receipt of their message\n  bot.sendMessage(chatId, 'Received your message');\n});\n```\n\n## 📚 Documentation\n\n* [Usage][usage]\n* [Examples][examples]\n* [Tutorials][tutorials]\n* [Help Information][help]\n* API Reference: ([api-release](..\u002Fmaster\u002Fdoc\u002Fapi.md) \u002F [development][api-dev] \u002F [experimental][api-experimental])\n* [Contributing to the Project][contributing]\n* [Experimental Features][experimental]\n\n_**Note**: Development is done against the **development** branch.\nCode for the latest release resides on the **master** branch.\nExperimental features reside on the **experimental** branch._\n\n\n## 💭 Community\n\nWe thank all the developers in the Open-Source community who continuously\ntake their time and effort in advancing this project.\nSee our [list of contributors][contributors].\n\nWe have a [Telegram channel][tg-channel] where we post updates on\nthe Project. Head over and subscribe!\n\nWe also have a [Telegram  group][tg-group] to discuss issues related to this library.\n\nSome things built using this library that might interest you:\n\n* [tgfancy](https:\u002F\u002Fgithub.com\u002FGochoMugo\u002Ftgfancy): A fancy, higher-level wrapper for Telegram Bot API\n* [node-telegram-bot-api-middleware](https:\u002F\u002Fgithub.com\u002Fidchlife\u002Fnode-telegram-bot-api-middleware): Middleware for node-telegram-bot-api\n* [teleirc](https:\u002F\u002Fgithub.com\u002FFruitieX\u002Fteleirc): A simple Telegram ↔ IRC gateway\n* [bot-brother](https:\u002F\u002Fgithub.com\u002FSerjoPepper\u002Fbot-brother): Node.js library to help you easily create telegram bots\n* [redbot](https:\u002F\u002Fgithub.com\u002Fguidone\u002Fnode-red-contrib-chatbot): A Node-RED plugin to create telegram bots visually\n* [node-telegram-keyboard-wrapper](https:\u002F\u002Fgithub.com\u002Falexandercerutti\u002Fnode-telegram-keyboard-wrapper): A wrapper to improve keyboards structures creation through a more easy-to-see way (supports Inline Keyboards, Reply Keyboard, Remove Keyboard and Force Reply)\n* [beetube-bot](https:\u002F\u002Fgithub.com\u002Fkodjunkie\u002Fbeetube-bot): A telegram bot for music, videos, movies, EDM tracks, torrent downloads, files and more.\n* [telegram-inline-calendar](https:\u002F\u002Fgithub.com\u002FVDS13\u002Ftelegram-inline-calendar): Date and time picker and inline calendar for Node.js telegram bots.\n* [telegram-captcha](https:\u002F\u002Fgithub.com\u002FVDS13\u002Ftelegram-captcha): Telegram bot to protect Telegram groups from automatic bots.\n\n\n## 👥 Contributors\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Fgraphs\u002Fcontributors\">\n    \u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=yagop\u002Fnode-telegram-bot-api\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n## License\n\n**The MIT License (MIT)**\n\nCopyright © 2019 Yago\n\n[usage]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fmaster\u002Fdoc\u002Fusage.md\n[examples]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fmaster\u002Fexamples\n[help]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fmaster\u002Fdoc\u002Fhelp.md\n[tutorials]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fmaster\u002Fdoc\u002Ftutorials.md\n[api-dev]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fmaster\u002Fdoc\u002Fapi.md\n[api-release]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Frelease\u002Fdoc\u002Fapi.md\n[api-experimental]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fexperimental\u002Fdoc\u002Fapi.md\n[contributing]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fmaster\u002FCONTRIBUTING.md\n[contributors]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Fgraphs\u002Fcontributors\n[experimental]:https:\u002F\u002Fgithub.com\u002Fyagop\u002Fnode-telegram-bot-api\u002Ftree\u002Fmaster\u002Fdoc\u002Fexperimental.md\n[tg-channel]:https:\u002F\u002Ftelegram.me\u002Fnode_telegram_bot_api\n[tg-group]:https:\u002F\u002Ft.me\u002F+UTbprHdcw0JdZdbL\n","yagop\u002Fnode-telegram-bot-api 是一个用于 Node.js 的 Telegram Bot API 库。它允许开发者通过 JavaScript 与 Telegram Bot API 进行交互，支持创建能够响应用户消息、执行命令等功能的聊天机器人。该库提供了丰富的 API 接口和事件监听机制，使得构建复杂的聊天机器人变得简单快捷。适用于需要集成 Telegram 机器人的各种场景，如客户服务、信息通知、社区管理等。MIT 许可证下开源，拥有活跃的社区支持和详细的文档资源。",2,"2026-06-11 03:26:57","top_topic"]