i maybe running low firmware in mikrotik haf lite , that is why scipt not working , for me the one online
1. you have to create a bot , telegram account and chat room with your bot at you in it
change [ text , the apikey - chat id and messege] remove the [ ]
after changing paste this to your browser
https://api.telegram.org/bot[BOT_API_KEY]/sendMessage?chat_id=[ CHAT ID NUMBER]&text=[MY_MESSAGE_TEXT]
mikrotik command
/tool fetch url= (means miktrotik will go to the webpage notice the quote " " " )
/tool fetch url= " https://api.telegram.org/bot[BOT_API_KEY]/sendMessage?chat_id=[ CHAT ID NUMBER]&text=[MY_MESSAGE_TEXT] "