{"id":23817781,"url":"https://github.com/lsongdev/telegram-bot","last_synced_at":"2026-06-25T05:31:06.941Z","repository":{"id":68774179,"uuid":"215536436","full_name":"lsongdev/telegram-bot","owner":"lsongdev","description":"🤖 Simple JavaScript API for Telegram Bot","archived":false,"fork":false,"pushed_at":"2019-10-16T12:16:05.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T22:23:49.287Z","etag":null,"topics":["telegram-bot"],"latest_commit_sha":null,"homepage":"https://core.telegram.org/bots/api","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/lsongdev.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},"funding":{"github":"song940","patreon":"song940","open_collective":"song940","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://git.io/fjRcB"}},"created_at":"2019-10-16T11:55:13.000Z","updated_at":"2021-11-12T12:06:07.000Z","dependencies_parsed_at":"2023-02-23T00:16:14.203Z","dependency_job_id":null,"html_url":"https://github.com/lsongdev/telegram-bot","commit_stats":null,"previous_names":["lsongdev/telegram-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftelegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftelegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftelegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Ftelegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsongdev","download_url":"https://codeload.github.com/lsongdev/telegram-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240093157,"owners_count":19746780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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"],"created_at":"2025-01-02T05:48:44.851Z","updated_at":"2026-05-06T08:30:18.285Z","avatar_url":"https://github.com/lsongdev.png","language":"JavaScript","funding_links":["https://github.com/sponsors/song940","https://patreon.com/song940","https://opencollective.com/song940","https://git.io/fjRcB"],"categories":[],"sub_categories":[],"readme":"## telegram-bot\n\n\u003e Simple JavaScript API for Telegram Bot\n\n### Installation\n\n```bash\n$ npm install telegram-bot\n```\n\n### Example\n\n```js\nconst TelegramBot = require('telegram-bot');\n\nconst { TELEGRAM_BOT_TOKEN: token } = process.env;\n\nconst bot = new TelegramBot({\n  token\n});\n\nbot.on('message', message =\u003e {\n  const { from, chat, text } = message;\n  console.log(`${from.username}:`, text);\n  bot.sendMessage({ chat_id: chat.id, text });\n});\n\n(async () =\u003e {\n\n  const { first_name, username } = await bot.getMe();\n  console.log(`${first_name} (@${username}) is logged in.`);\n  \n  await bot.startPolling();\n\n})();\n```\n\n### Contributing\n- Fork this Repo first\n- Clone your Repo\n- Install dependencies by `$ npm install`\n- Checkout a feature branch\n- Feel free to add your features\n- Make sure your features are fully tested\n- Publish your local branch, Open a pull request\n- Enjoy hacking \u003c3\n\n### MIT\n\nThis work is licensed under the [MIT license](./LICENSE).\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Ftelegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsongdev%2Ftelegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Ftelegram-bot/lists"}