Script to send received SMS to Telegram

Hi,

As mentioned, can someone help me code a script to do the above function? I am zero in scripting, any help would be appreciated!

I have a script that does exactly what you ask for:
Forward received SMS
This requires the base installation, see main README.

I found this opensource script, which works great on RBM11g em160 ros 7.6 : https://github.com/filimonic/mikrotik-sms-forward-telegram
thanks to the author!!