Before we start going through the workshop, make sure that you have VSCode or VSCodium installed on your machine. For the convenience, we will reference the IDE as VSCode going forward.
If you are familiar with Git, you can clone following GitHub Repository and open it with VSCode: https://github.com/camel-k-integration-workshop/camel-k-workshop
We need to install the VSCode extensions – Extension Pack for Apache Camel by Red Hat for later use.Click image to enlarge
Note: if you haven’t used telegram before, you can simply download the
Telegram
mobile app and create a new account there.
Alternatively, you can follow this link to get the desktop version.
☐ Search for username @BotFather
☐ Start the chat: /start
☐ Send message: /newbot to @BotFather
☐ Follow the instructions of @BotFather and create name and username for the bot.
☐ Once the bot is created, you will receive a token to access the HTTP API, keep the token secure and store it safely.
☐ Now search for your newly-created bot and click /start to initiate the conversation with the bot. Feel free to say “Hi”!
If you encounter any issues during the process or you seek additional information about bots, official Telegram website provides complete instructions on how to create a bot with the help of BotFather.
☐ Search for username @RawDataBot with name Telegram Bot Raw
☐ Start the chat: /start
☐ You will receive a message from the @RawDataBot, store the value of "id"
in the "chat"
section somewhere safe.
Once we get the telegram bot token and the chat ID, remember to save them somewhere safe and easily accessible. We will need them in the following examples.