Here is how to get the Chat ID
Step 1. Enter the following command on your browser. Use your Bot Token (it's the long token)
https://api.telegram.org/bot<yourtoken>/getUpdates
Step 2. Look at the result. You should see your chat id
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.
For completeness, this is what you should do to get a Bot Id.
1. Add BotFather as your contact in Telegram
2. Chat with BotFather and request a new bot by running
/newbot
You should get a long token. This is your Bot Id.
3. Create a group chat in Telegram and your bot into the group.
... View more