© Nicolas Modrzyk 2019
Nicolas ModrzykBuilding Telegram Botshttps://doi.org/10.1007/978-1-4842-4197-4_6

6. Week 6: C++

Nicolas Modrzyk1 
(1)
Tokyo, Tokyo, Japan
 

Writing in C or C++ is like running a chainsaw with all the safety guards removed.

—Bob Gray

It was inevitable to have a chapter on C++, especially after dealing with D. What is surprising, however, is that there is a working Telegram bot API—wrapper—on the market, and what’s even more surprising is that it works very well.

C++ is the language often thought of as a reference to what not to code, but I think it’s always a plus to have it in your toolbox.

This chapter will focus on sending pictures from the usual echo bot to finally applying basic OpenCV calls on received images. OpenCV, if ...

Get Building Telegram Bots: Develop Bots in 12 Programming Languages using the Telegram Bot API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.