foamrider / osticket-telegram

Post notifications from osTicket to Telegram with Telegram Bot
MIT License
31 stars 24 forks source link

What's the Chat ID #1

Closed hmnd closed 8 years ago

hmnd commented 8 years ago

What do I put for Chat ID in the config?

foamrider commented 8 years ago

After you've created a bot (using Bot Father, see: https://core.telegram.org/bots), add the bot to a group or /start a chat with your bot. You can then read the chat ID opening: https://api.telegram.org/bot<token>/getUpdates Example: https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getUpdates

The bot token is generated and displayed by the Bot Father when creating a bot, this is a secret key.