{"id":30381894,"url":"https://github.com/dfvgbh/deno-telegram-bot-api","last_synced_at":"2026-03-04T18:04:00.038Z","repository":{"id":45144665,"uuid":"264458483","full_name":"dfvgbh/deno-telegram-bot-api","owner":"dfvgbh","description":"Deno Telegram bot API","archived":false,"fork":false,"pushed_at":"2023-12-28T17:04:34.000Z","size":105,"stargazers_count":35,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-09T22:47:29.907Z","etag":null,"topics":["deno","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dfvgbh.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":"2020-05-16T14:45:48.000Z","updated_at":"2025-03-17T10:46:07.000Z","dependencies_parsed_at":"2025-08-20T22:26:14.083Z","dependency_job_id":"f364e38e-0a90-4c82-92c7-6f1b43960b32","html_url":"https://github.com/dfvgbh/deno-telegram-bot-api","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dfvgbh/deno-telegram-bot-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfvgbh%2Fdeno-telegram-bot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfvgbh%2Fdeno-telegram-bot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfvgbh%2Fdeno-telegram-bot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfvgbh%2Fdeno-telegram-bot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfvgbh","download_url":"https://codeload.github.com/dfvgbh/deno-telegram-bot-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfvgbh%2Fdeno-telegram-bot-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30088344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"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":["deno","telegram","telegram-bot","telegram-bot-api"],"created_at":"2025-08-20T22:25:59.646Z","updated_at":"2026-03-04T18:04:00.030Z","avatar_url":"https://github.com/dfvgbh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Bot API Version](https://img.shields.io/badge/Bot%20API-v5.0-blue)](https://core.telegram.org/bots/api)\n\n# !!!NOT SUPPORTED!!! \n## it won't work with latest Deno versions, feel free to fork and update as you wish\n# deno-telegram-bot-api \n🦕 wrapper for Telegram Bot API \n\nJoin Discord channel https://discord.gg/6VMcmxAnT8\n\n## Features\n- Fully typed API follows the official [Telegram API](https://core.telegram.org/bots/api) (v5.0)\n- Minimal domain-specific knowledge required\n- Polling and Webhook server for getting updates\n- A simple way for sending media files\n\n## Examples\n\nFor all examples check the [examples directory](https://github.com/dfvgbh/deno-telegram-bot-api/tree/master/examples)\n\nThe example of a bot which responds with a file containing a user message inside.\n\n```ts\nimport { TelegramBot, UpdateType } from \"https://deno.land/x/telegram_bot_api/mod.ts\"\n\nconst TOKEN = Deno.env.get(\"TOKEN\");\nif (!TOKEN) throw new Error(\"Bot token is not provided\");\nconst bot = new TelegramBot(TOKEN);\n\nbot.on(UpdateType.Message, async ({ message }) =\u003e {\n  const text = message.text || \"I can't hear you\";\n  await bot.sendDocument({\n    chat_id: message.chat.id,\n    document: new File([text], \"echo.txt\"),\n  });\n});\n\nbot.run({\n  polling: true,\n});\n```\n\nLet's run the example above right from the terminal:\n```shell script\n# MacOS, Linux\nTOKEN=your-bot-token deno run --allow-net --allow-env https://deno.land/x/telegram_bot_api/examples/sending-files/01-simple-media.ts\n```\n```shell script\n# Windows\nset TOKEN=your-bot-token \u0026\u0026 deno run --allow-net --allow-env https://deno.land/x/telegram_bot_api/examples/sending-files/01-simple-media.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfvgbh%2Fdeno-telegram-bot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfvgbh%2Fdeno-telegram-bot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfvgbh%2Fdeno-telegram-bot-api/lists"}