You can now take photos using the Raspberry Pi camera.
Let's now switch to the telegram bot.
So why telegram?
Well, telegram is a quite good and open messaging app with the possibility of creating useful bots
about basically is a program that will interact with the chat on the telegram application and the bot
will be running where we'll be running in the Raspberry Pi as a Python program, for example, you can
send a message to a chat from the Raspberry Pi and you can also respond to some comments that you type
directly on the chat.
We are going to see both cases in the following lessons.
But first we need to do a few configuration steps to create this bot on the Telegram app.
The very first step is to create a telegram account from your phone.
Telegram is free, so no problem with that.
So you go to the Telegram website here with telegram.org and you download one of the application.
Okay.
So if you have like an Android phone, a iPhone or a Windows phone, for example.
So you download the application and you just follow the setup.
Okay.
So with telegram you need to link your account to your phone number.
Okay.
That's why you need to start the account from your phone.
Then you are free to use any of the phone, tablet or desktop application.
So I'm not going to show you the setup.
You just basically well, you just download an application and you just click on next until you get
to the chat and then, well, you can use the application from anywhere.
If you want to use your application from your phone, you can do that if you want to use the application.
Also, you can download it for Windows, you can download it for Mac OS, you can download it for Linux.
And that's what actually I'm going to do here is I'm going to use the application.
So I have the application on my phone as well, but I'm going to use the application, the desktop application
also from the Raspberry Pi desktop, just so it is simpler for me to record the video basically so I
can have the Python program, the Arduino program, and I can also have the telegram application.
Okay.
But you don't need to use the telegram application here.
You just use it anywhere you want.
And so if you want to use the Telegram app from a Windows or Mac OS, you just download it from the
website and if you want to use it from Linux, well you can just do sudo apt install.
Telegram desktop with Autocompletion.
Okay.
And well, for me it's already installed, but well, on any Linux you just do this and then you will
see that if you go to the menu and internet, you have the web browser and you have Telegram desktop.
Okay.
And now you have the Telegram app.
So this will look exactly the same on mobile or on the desktop application.
So that's great.
Basically, you have a list of chats, you can have your contact, everything.
So I'm not going to explain to you how a messaging app works.
And now, well, your account is correctly configured.
We can create a bot.