<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/rss/stylesheet/" type="text/xsl"?>
<rss xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:podbridge='http://www.podbridge.com/podbridge-ad.dtd' version='2.0'>
<channel>
  <title>Jaryl Chng&apos;s Knowledge Base</title>
  <language>en-us</language>
  <generator>microfeed.org</generator>
  <itunes:type>episodic</itunes:type>
  <itunes:explicit>false</itunes:explicit>
  <atom:link rel="self" href="https://kb.jarylchng.com/rss/" type="application/rss+xml"/>
  <link>https://kb.jarylchng.com</link>
  <description>
    <![CDATA[<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>]]>
  </description>
  <itunes:author>Jaryl Chng</itunes:author>
  <itunes:image href="https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/channel-c68f1f55f856ab833b4365991609dbec.png"/>
  <image>
    <title>Jaryl Chng&apos;s Knowledge Base</title>
    <url>https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/channel-c68f1f55f856ab833b4365991609dbec.png</url>
    <link>https://kb.jarylchng.com</link>
  </image>
  <copyright>©2024</copyright>
  <itunes:category text="Technology"/>
  <item>
    <title>Telegram - A new bot to simply get your user, group or chat ID on Telegram hosted on Cloudflare Workers</title>
    <guid>zI8FLkFDeD3</guid>
    <pubDate>Sat, 06 Apr 2024 16:23:41 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<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>]]>
    </description>
    <link>https://kb.jarylchng.com/i/telegram-a-new-bot-to-simply-get-your-user-grou-zI8FLkFDeD3/</link>
    <itunes:episodeType>full</itunes:episodeType>
  </item>
</channel>
</rss>