Notify telegram of the parameters configured and monitored in icingaweb2 with API

Hello, I am new to using icinga 2 and icingaweb2 and I wanted to know if there is any way to notify telegram of the parameters configured and monitored in icingaweb2. The only thing I have found so far is to do it through the telegram bots but I would like to do it through some API I hope you can guide me how or with what to do it