How to create the Telegram-Bot?
Please follow to official documentation.
Get the Chat ID
The Chat ID parameter is your Telegram-identifier. It is different from your phone number or Telegram-login (@xxxxxxxx).
- Enter the following command on your browser. Use your Bot Token (it’s the long token)
- Look for
-xxxxxxxxxis your chat id (with the negative sign).
If you cannot see your chat id, remove your bot from the chat and add it back. Resend the command and you will see the chat id. Take note that the chat id includes the minus sign.