{"id":19295718,"url":"https://github.com/xditya/tgdetailsbot","last_synced_at":"2025-08-23T12:32:16.921Z","repository":{"id":106416807,"uuid":"580882040","full_name":"xditya/TGdetailsBot","owner":"xditya","description":"Telegram Bot to fetch all data in a message.","archived":false,"fork":false,"pushed_at":"2024-05-21T02:12:36.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-22T08:43:09.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xditya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2022-12-21T17:34:07.000Z","updated_at":"2024-12-14T02:35:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"34a00794-14d5-43f8-bd0f-c983ed682420","html_url":"https://github.com/xditya/TGdetailsBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"xditya/GrammyCloneableBot","purl":"pkg:github/xditya/TGdetailsBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FTGdetailsBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FTGdetailsBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FTGdetailsBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FTGdetailsBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xditya","download_url":"https://codeload.github.com/xditya/TGdetailsBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FTGdetailsBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271747023,"owners_count":24813604,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T22:44:15.904Z","updated_at":"2025-08-23T12:32:16.590Z","avatar_url":"https://github.com/xditya.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TGdetailsBot\n\nTelegram Bot to get message details (as JSON) as well as chat ID (forwarded\nchannel/user ID).\\\nA live instance of this bot can be found on Telegram at\n[@TGdetailsBot](https://TGdetailsBot.t.me).\n\n# Variables\n\n- `BOT_TOKEN` - A telegram bot token (for testing the bot when hosted locally).\n- `WEBHOOK_PATH` - The path to point the webhook domain to, eg: setting it as\n  `TGdetailsBot` would point the webhook to\n  `https://\u003cyour-deploy-domain\u003e/TGdetailsBot?token=\u003ctoken\u003e`.\n\n# Setting up\n\nThis repository can be deployed and tested right out of the box.\n\n1. Deploy it on dash.deno.com (or wherever, just run it using webhooks).\n2. Set the webhook for your main bot:\n   `https://api.telegram.org/bot\u003ctoken\u003e/setWebhook?url=https://\u003cyour-deploy-domain\u003e/\u003cWEBHOOK_PATH\u003e?token=\u003ctoken\u003e`.\n3. Open the bot on telegram, it should now be responding to `/start`.\n4. Forward a message with a bot's token from\n   [@BotFather](https://BotFather.t.me/) to this bot and wait for the\n   confirmation message!\n\nIn addition to that, you can test the bot locally using deno tasks:\n`deno task test`.\n\n# Credits\n\n- [Aditya](https://xditya.me) for\n  [this template repository](https://github.com/xditya/GrammyCloneBot).\n- [SpEcHiDe](https://www.shrimadhavuk.me/) for\n  [IDNWB](https://github.com/SpEcHiDe/IDNWB).\n- [grammY](https://github.com/grammyjs/) for [grammY](https://grammy.dev)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxditya%2Ftgdetailsbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxditya%2Ftgdetailsbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxditya%2Ftgdetailsbot/lists"}