Last active
October 22, 2025 18:43
-
Star
(107)
You must be signed in to star a gist -
Fork
(17)
You must be signed in to fork a gist
-
-
Save mraaroncruz/e76d19f7d61d59419002db54030ebe35 to your computer and use it in GitHub Desktop.
Revisions
-
mraaroncruz revised this gist
Mar 18, 2024 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,15 +7,13 @@ Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path `https://web.telegram.org/k/#-9999999999999` -9999999999999 is the channel ID. [Link to suggestion](https://gist.github.com/mraaroncruz/e76d19f7d61d59419002db54030ebe35?permalink_comment_id=4991959#gistcomment-4991959) ## (DEPRECATED) New improved next steps 3. Go to https://web.telegram.org 4. Click on your channel 5. Look at the URL and find the part that looks like `c12112121212_17878787878787878` -
mraaroncruz revised this gist
Mar 18, 2024 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,18 @@ 1. Create your bot with botfather 2. Make you bot an admin of your channel ## Simplest way (via @anhtuank7c) Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path https://web.telegram.org/k/#-9999999999999 -9999999999999 is the channel ID. [https://gist.github.com/anhtuank7c ](https://gist.github.com/mraaroncruz/e76d19f7d61d59419002db54030ebe35?permalink_comment_id=4991959#gistcomment-4991959) (DEPRECATED) ## New improved next steps 3. Go to https://web.telegram.org 4. Click on your channel -
mraaroncruz revised this gist
Oct 8, 2020 . 1 changed file with 13 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,19 @@ ## To get the channel id 1. Create your bot with botfather 2. Make you bot an admin of your channel ## New improved next steps 3. Go to https://web.telegram.org 4. Click on your channel 5. Look at the URL and find the part that looks like `c12112121212_17878787878787878` 6. Remove the underscore and after `c12112121212` 7. Remove the prefixed letter `12112121212` 8. Prefix with a `-100` so `-10012112121212` 9. That's your channel id. ## Old yucky next steps 3. Make your channel public 4. Create a public link 5. Send a message from console to `@[your_public_link_text]` -
mraaroncruz created this gist
Sep 10, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ ### To get the channel id 1. Create your bot with botfather 2. Make you bot an admin of your channel 3. Make your channel public 4. Create a public link 5. Send a message from console to `@[your_public_link_text]` 6. Copy chat id from response in console as the channel id