Telegram Chat ID for bot errors out

Ive created a chat bot and user following the documentation but it does not like the value in Chat ID; Other examples seem to be passing numerical ID, but I don’t have it; can I retrieve it first? The node help specifically says: Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Using cloud n8n

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Dima_Semensky,

The chat ID is not like that.
It’s a number like this:

654956646134

or this

-985652647631

To get the chat ID you can use the IDBot


.

:muscle: If my reply answers your question, please remember to mark it as a solution.

For you personal chat ID send a message to @get_id_bot and it responds with your details

For a group chat ID, invite the bot to the channel
OR you can find it when generating an API token with Bot Father:


2 Likes