seydx / camera.ui

NVR like user Interface for RTSP capable cameras

Home Page:https://github.com/seydx/camera.ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation regarding Telegram API's token

xfarrow opened this issue · comments

Is your feature request related to a problem? Please describe.
A Telegram Token and a ChatID are requested to send notifications, but it'd be great to know what kind of API token is requested, Telegram allows you to create different kinds of it.

Describe the solution you'd like
A clear documentation

Thank you.

Found the steps using ChatGPT and it worked.

To obtain the Chat ID and Token, follow these steps:

  1. Open Telegram and search for "BotFather."
  2. Initiate a conversation with BotFather and use the "/newbot" command to create a new bot.
  3. Follow BotFather's instructions to assign a name and username to your new bot.
  4. Once created, BotFather will provide you with a Token; save this token, as you'll need it. It looks like this: "55532342367:ARDLzheGCue-DF4-h3kLfKGXbXEc"
  5. Now, on Telegram, initiate a conversation with the new bot and send it any message, like "Hello".
  6. Then open the following URL in a web browser: https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates
  7. For the previous step you need to replace <YOUR_TOKEN> with your actual Token.
  8. Look for the "id" field in the JSON response. The associated value is your Telegram Chat ID. It looks like this: 145673626

Hope it helps.