- Create a bot
 - Gets its API token (via @BotFather)
 - Get the ID of the chat
- Add your bot to the chat
 - Fetch bot updates and look for the chat id: 
curl https://api.telegram.org/bot<bot_api_token>/getUpdates - OR, run bot.rb
 - For group chat, ensure bot has access to messages: @BotFather > Bot Settings > Group Privacy > Turn off
For a write-only bot (i.e. does not respond to commands), re-enable group privacy after getting the chat id - Ping your bot in the chat that you want the id for
 
 - Send a POST request via their HTTP API
 
$ curl -X POST \
       -H 'Content-Type: application/json' \
       -d '{"chat_id": "123456789", "text": "This is a test from curl", "disable_notification": true}' \
       https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage- Docs for sending a message: https://core.telegram.org/bots/api#sendmessage