{"repo":"w32blaster/telegram-notification-resource","free":true,"listed":false,"github":"https://github.com/w32blaster/telegram-notification-resource","clone":"git clone https://github.com/w32blaster/telegram-notification-resource.git","description":"Resource for Concourse CI to send messages to Telegram","language":"Shell","stars":17,"topics":["telegram","bot","concourse-ci","notifications"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"telegram-notification-resource Resource for Concourse CI to send messages to Telegram. You can pass your message from tasks with text file, or send a static message. It allows you to send (put) a messages to Telegram from your pipeline. Prepare your bot Before using this resource, you should create a bot for yourself. Please, follow the instruction to create a bot and to get its token . Pass this value to the bot token parameter. Then, find out the chat ID you want to send notifications to. Now you are ready to use it. Private channel It is a good idea to create a private channel for your team where bot will print all the messages from Concourse. In this case you need to follow this steps: 1) create a public channel, give it a name, say, @MyChannel 2) add your bot as an administrator 3) then, send some testing message to this channel, use this command: curl -X POST \"https://api.telegram.org/bot /sendMessage?chat id=@MyChannel&text=123\" . You should see a new message from your bot in your channel. Check the JSON output from this command, you will find an chat id . The output could look like this: { \"ok\" : true, \"result\" : { \"chat\" : { \"id\" : -1001005582487, \"title\" : \"Test Private Channel\", \"type\" : \"channel\" }, \"date\" : 1448245538, \"message id\" : 7, \"text\" : \"123\" } } , where chat id is -1001005582487 4) optionally, now you can make your channel private, generate link and send it to your collegues Forum topics If you want to send messages to forum topics, you need to get the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/w32blaster","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/w32blaster/telegram-notification-resource/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}