- Create your bot with botfather
- Make you bot an admin of your channel
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.
- Go to https://web.telegram.org
- Click on your channel
- Look at the URL and find the part that looks like
c12112121212_17878787878787878
- Remove the underscore and after
c12112121212
- Remove the prefixed letter
12112121212
- Prefix with a
-100
so-10012112121212
- That's your channel id.
- Make your channel public
- Create a public link
- Send a message from console to
@[your_public_link_text]
- Copy chat id from response in console as the channel id
@mraaroncruz yeah, as I said it depends on you want to keep your ID private or not 😅
in total I think forwarding a message to your own bot is better because as I understand the method of extracting ID from
web
might change.