Hello, Grega.
I assume you want to receive notifications if a live stream from Nimble goes offline for some reason.
I guess Telegram provides quite a flexible API to use with scripting, but if you looking for some samples of using Nimble API or WMSPanel API with Telegram, we do not have it, unfortunately.
As for the SRT /manage/srt_receiver_stats method can be used, with the conditioning on the "id" and "state" field which are the id of a connection and its state (connected/disconnected).
https://wmspanel.com/nimble/api#toggler=12
As for other protocols, WMSPanel API can be used with the conditioning on the "status" field.
https://wmspanel.com/api_info#sb_live_streams
Thank you.