{"id":520,"date":"2024-08-26T09:10:21","date_gmt":"2024-08-26T06:10:21","guid":{"rendered":"https:\/\/itgen.itbumper.com\/?page_id=520"},"modified":"2024-09-03T02:23:23","modified_gmt":"2024-09-02T23:23:23","slug":"how-to-find-out-chat-id-in-telegram","status":"publish","type":"page","link":"https:\/\/itgen.itbumper.com\/?page_id=520","title":{"rendered":"0006_How to find out Chat ID in Telegram"},"content":{"rendered":"\n\n<p style=\"text-align: justify;\" data-tadv-p=\"keep\">There are a few ways to get chat_ID. During the experiments, I added a bot that had to show a chat_ID of my group, but instead of showing me information, it deleted my chat. This action was not insecure at all.<\/p>\n<p style=\"text-align: center;\" data-tadv-p=\"keep\"><span style=\"color: #ff0000;\"><strong>!<\/strong><\/span> <strong>Be aware.<\/strong> Study the security issue before you add any bot to the group.<\/p>\n<p><strong>Here are my steps:<\/strong><\/p>\n<ol>\n<li>Create a group<\/li>\n<li>Go to <strong><em>Group Settings<\/em><\/strong> and change <strong><em>Group type<\/em><\/strong> from <strong><em>Prived<\/em><\/strong> to <strong><em>Public<\/em><\/strong><\/li>\n<li>Change Link: in my example is: <strong><em>t.me\/TelePuzic10<\/em><\/strong><\/li>\n<li>In your web browser, request: https:\/\/api.telegram.org\/bot<strong>&lt;YOUR BOT TOKEN&gt;<\/strong>\/getChat?chat_id=@<strong>TelePuzic10<\/strong><\/li>\n<li>Take a look at the response. Your chat ID is &#8220;-100xx..xx&#8221;<\/li>\n<li>Go to <strong><em>Group Settings<\/em><\/strong> and change <strong><em>Group type<\/em><\/strong> from <strong><em>Public to <\/em><\/strong><strong><em>Prived<\/em><\/strong><\/li>\n<\/ol>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"162\" src=\"https:\/\/itgen.itbumper.com\/wp-content\/uploads\/2024\/08\/tb07-1.png\" alt=\"\" class=\"wp-image-524\" srcset=\"https:\/\/itgen.itbumper.com\/wp-content\/uploads\/2024\/08\/tb07-1.png 646w, https:\/\/itgen.itbumper.com\/wp-content\/uploads\/2024\/08\/tb07-1-300x75.png 300w\" sizes=\"(max-width: 646px) 85vw, 646px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>There are a few ways to get chat_ID. During the experiments, I added a bot that had to show a chat_ID of my group, but instead of showing me information, it deleted my chat. This action was not insecure at all. ! Be aware. Study the security issue before you add any bot to the &hellip; <a href=\"https:\/\/itgen.itbumper.com\/?page_id=520\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;0006_How to find out Chat ID in Telegram&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/520"}],"collection":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=520"}],"version-history":[{"count":4,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/520\/revisions"}],"predecessor-version":[{"id":573,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/520\/revisions\/573"}],"wp:attachment":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}