Telegram bot

Hi everyone. I’d like to know how to make a Tg bot that will take data from English dictionary and, upon request, will send to an user verbs with definitions, examples etc… I know how to use ai gemnini and API of dictionary, but I’m hardly understand how to put it all together in order to function proplerly