How to get your credentials - realmayus/clipbot GitHub Wiki

Create a telegram bot / Get Bot Token

  1. Open Chat with @BotFather
  2. Write to him /newbot
  3. Enter a display name for your bot.
  4. Enter a username for your bot (has to end with "bot")
  5. Copy the Bot Token from BotFather's Response and store it in a safe place.

Get your ChatID

  1. Open the chat with your newly created bot.
  2. Write your bot a message.
  3. Open this URL in your browser (preferably Firefox since it has JSON Formatting): Replace [YOUR BOT TOKEN] (also the brackets) with your bot token! https://api.telegram.org/bot{YOUR BOT TOKEN}/getUpdates
  4. The highlighted area is your chatID: