Documentation

All the information you need in one place

How do I get the channel ID in Telegram?

To connect Nelio Content with Telegram you need to know the ID of the channel or group where you want to publish your messages.

Public channels and groups may have a public username. Use that username as the channel ID when connecting Nelio Content with Telegram.

Link of a public channel in Telegram.
Link of a public channel in Telegram.

For instance, in the previous image we see the public channel https://t.me/neliosoft. The ID of this channel is the username of the channel (neliosoft) preceded with an ‘@. Therefore, the channel ID is @neliosoft. That is what you need to type in the Channel field when setting up a connection with Nelio Content and Telegram.

If you want to connect a Telegram group, the ID of that group doesn’t follow the same approach and it is not publicly visible through the Telegram mobile app. Instead, you should use the Telegram web app.

Log in with your account to Telegram web and select the Telegram group. Then, in the URL of your web browser you should see something similar to https://web.telegram.org/k/#-XXXXXXXXX. Then, the ID you need to use for the Telegram group is -XXXXXXXXX, where each X character represents a number. Remember to include the minus symbol preceding the numbers.

Finally, for private channels in Telegram, select the private channel in Telegram web. Then, in the URL of your web browser you should see something similar to https://web.telegram.org/k/#-YYYYYYYYYY. Here, the ID you need to use for the private channel is -100YYYYYYYYYY. That is, you need to include a 100 between the minus symbol and the YYYYYYYYYY numbers.

Alternatively, you can send a message in your channel or group in Telegram (through the mobile app or Telegram web, it doesn’t matter) and simply forward that message to @JsonDumpBot. The bot dumps a complete JSON of all request that he receives, which looks like the following:

JSON dump you get after forwarding a message to the @JsonDumpBot.
JSON dump you get after forwarding a message to the @JsonDumpBot.

Look for the property forward_from_chat and copy its id property. That is the channel ID you need to use when connecting Nelio Content with Telegram.

Person writing a new WordPress post on a MacBook

Looking for popups?

We have the best plugin to create popups for WordPress in minutes.

Request Customized Enterprise Pricing

10
200000

With your express consent, we handle the information provided for the purpose of contacting you and until you ask us to delete it.

70% OF YOUR VISITORS DO EXACTLY WHAT
YOU JUST DID AND NEVER COME BACK!

KEEP THEM
ON YOUR SITE
LONGER WITH
NELIO POPUPS

Claim Your Discount Now

Image with a 10%-off coupon

WAIT! BEFORE YOU GO...

Get this awesome discount now!

No, I don't want to save money

Image with a 10%-off coupon

WAIT! BEFORE YOU GO...

Get this awesome discount now!

No, I don't want to save money

YOUR COOKIE SETTINGS


This site uses proprietary operational cookies that have a purely functional purpose and third-party cookies that help us understand how visitors interact with the site by collecting and presenting information anonymously. To get more information about these cookies and the processing of your personal data, check our Privacy & Cookie Policy. Do you accept these cookies and the processing of personal data involved?


If you don’t, you can reject non-operational cookies and continue browsing this site by clicking here.