Introduction
Last updated
Last updated
Hello to everyone who has been looking for a long time how to do basic actions for your telegram bot! This tutorial will cover the implementation of the basic functions that you need to perform a simple bot.
I assume you already know Java programming language.
If you got here and don't have any idea how to develop a bot, then I recommend starting description creating a bot in telegram, namely working with BotFather
In this tutorial I will use next characteristics:
My home macOS laptop with IntelliJ Idea pre-installed
Java JDK 18
If you have any suggestions, what lessons you would like to see here, write issue or contact me!
description creating a bot in telegram, namely working with BotFather
description of sending the message to the user
creating buttons in the keyboard field
sending a photo from a local directory
sending a track from a local directory
saving the sent photo or file to a local directory
from the telegram itself
to download it to your IDE
to use all the emojis that are in telegram