{"version":"https://jsonfeed.org/version/1.1","title":"Jaryl Chng's Knowledge Base","home_page_url":"https://kb.jarylchng.com","feed_url":"https://kb.jarylchng.com/json/","description":"<p>Welcome to the index page of my knowledge base, if you haven't done so, do visit my website at <a href=\"https://jarylchng.com\" rel=\"noopener noreferrer\" target=\"_blank\">https://jarylchng.com</a>.</p><p>I will mainly use this site to document stuff, most of which will likely be in the public domain.</p>","icon":"https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/channel-c68f1f55f856ab833b4365991609dbec.png","favicon":"https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/favicon-b94914f57599a477f9f72dab6bc71001.png","authors":[{"name":"Jaryl Chng"}],"language":"en-us","items":[{"id":"zI8FLkFDeD3","title":"Telegram - A new bot to simply get your user, group or chat ID on Telegram hosted on Cloudflare Workers","url":"https://kb.jarylchng.com/i/telegram-a-new-bot-to-simply-get-your-user-grou-zI8FLkFDeD3/","content_html":"<h1>UPDATE 10 APRIL 2024: Bot is now fixed.</h1><p>I know there are a lot of Telegram bots out there that do this, however I realized there has been a few I tried (even those recommended on online forums) which are outright no longer maintained and stopped working long ago. It took me many tries to find the one that worked.</p><h2>Solution</h2><p>Bot: <a href=\"http://t.me/icanhazidbot\" rel=\"noopener noreferrer\" target=\"_blank\">http://t.me/icanhazidbot</a></p><p>Source: <a href=\"https://gitlab.com/jarylc/cf-workers-icanhazid-telegram-bot\" rel=\"noopener noreferrer\" target=\"_blank\">https://gitlab.com/jarylc/cf-workers-icanhazid-telegram-bot</a></p><p><img src=\"https://kb-static.jarylchng.com/kb-jarylchng-com/production/media/rich-editor/items/zI8FLkFDeD3/image-972394c050b325837978d1a6dcfeff51.png\"></p><p>I decided to take matters into my own hands and leveraged Cloudflare Workers uptime and reliability to host a bot that simply does the job without a lot of maintenance required (due to serverless). This was inspired by <a href=\"https://icanhazip.com\" rel=\"noopener noreferrer\" target=\"_blank\">https://icanhazip.com</a> as well which is also <a href=\"https://major.io/2021/06/06/a-new-future-for-icanhazip/\" rel=\"noopener noreferrer\" target=\"_blank\">hosted on Cloudflare Workers</a>.</p><p>If a developer ever requests your user ID, you can simply just tag the bot @icanhazid, wait for the prompt, and tap on the ID.</p><p>Feel free to start a chat with that bot to get your own ID as well.</p><p>To grab a group chat ID, you would have to invite the bot to a group.</p><p>If everything is in order, the reply is almost instantaneous as well!</p><p>Hack away!</p>","content_text":"UPDATE 10 APRIL 2024: BOT IS NOW FIXED.\n\nI know there are a lot of Telegram bots out there that do this, however I\nrealized there has been a few I tried (even those recommended on online forums)\nwhich are outright no longer maintained and stopped working long ago. It took me\nmany tries to find the one that worked.\n\n\nSOLUTION\n\nBot: http://t.me/icanhazidbot\n\nSource: https://gitlab.com/jarylc/cf-workers-icanhazid-telegram-bot\n\n[https://kb-static.jarylchng.com/kb-jarylchng-com/production/media/rich-editor/items/zI8FLkFDeD3/image-972394c050b325837978d1a6dcfeff51.png]\n\nI decided to take matters into my own hands and leveraged Cloudflare Workers\nuptime and reliability to host a bot that simply does the job without a lot of\nmaintenance required (due to serverless). This was inspired by\nhttps://icanhazip.com as well which is also hosted on Cloudflare Workers.\n\nIf a developer ever requests your user ID, you can simply just tag the bot\n@icanhazid, wait for the prompt, and tap on the ID.\n\nFeel free to start a chat with that bot to get your own ID as well.\n\nTo grab a group chat ID, you would have to invite the bot to a group.\n\nIf everything is in order, the reply is almost instantaneous as well!\n\nHack away!","date_published":"2024-04-06T16:23:41.359Z","_microfeed":{"web_url":"https://kb.jarylchng.com/i/telegram-a-new-bot-to-simply-get-your-user-grou-zI8FLkFDeD3/","json_url":"https://kb.jarylchng.com/i/zI8FLkFDeD3/json/","rss_url":"https://kb.jarylchng.com/i/zI8FLkFDeD3/rss/","guid":"zI8FLkFDeD3","status":"published","itunes:episodeType":"full","date_published_short":"Sat Apr 06 2024","date_published_ms":1712420621359}}],"_microfeed":{"microfeed_version":"0.1.2","base_url":"https://kb.jarylchng.com","categories":[{"name":"Technology"}],"subscribe_methods":[{"name":"RSS","type":"rss","url":"https://kb.jarylchng.com/rss/","image":"https://kb.jarylchng.com/assets/brands/subscribe/rss.png","enabled":true,"editable":false,"id":"sQbXXExV58H"},{"name":"JSON","type":"json","url":"https://kb.jarylchng.com/json/","image":"https://kb.jarylchng.com/assets/brands/subscribe/json.png","enabled":true,"editable":false,"id":"nC8cjLCnOOi"}],"description_text":"Welcome to the index page of my knowledge base, if you haven't done so, do visit\nmy website at https://jarylchng.com.\n\nI will mainly use this site to document stuff, most of which will likely be in\nthe public domain.","copyright":"©2024","itunes:type":"episodic","items_sort_order":"newest_first"}}