I used this Perl template of a bot: <a href="https:&#x2F;&#x2F;www.snip2code.com&#x2F;Snippet&#x2F;655828&#x2F;Basic-Telegram-bot-implementation-using-" rel="nofollow">https:&#x2F;&#x2F;www.snip2code.com&#x2F;Snippet&#x2F;655828&#x2F;Basic-Telegram-bot-...</a><p>And wrote down the steps I took to build a bot that sends pictures from an IP camera (in Portuguese): <a href="http:&#x2F;&#x2F;alquerubim.blogspot.com.br&#x2F;2016&#x2F;02&#x2F;solucao-caseira-para-seguranca-domestica.html" rel="nofollow">http:&#x2F;&#x2F;alquerubim.blogspot.com.br&#x2F;2016&#x2F;02&#x2F;solucao-caseira-pa...</a>