java spring telegram

Hello everyone! I'm a beginner developer, and today I received a test task for a job interview. I don't have much experience, just some academic projects. The task is to create a Telegram bot, and I need to integrate it with Spring Boot. I'm already familiar with Spring and can create REST applications, but I'm struggling to connect Spring with the Telegram API.

I've never worked with the Telegram API before and don't know how to properly set this up. Could anyone share resources or tips to help me understand the process? How difficult is this for a beginner? I would appreciate any advice!