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.
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
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:
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.