I made script with AI for myself that reads SMS (RAW DATA) from USB 3G modem on sends it to Telegram via BOT.
A script for MikroTik RouterOS that reads incoming SMS messages from a 3G/4G USB modem and forwards them to Telegram. This script solves multiple issues found in standard implementations, such as incorrect character encoding, missing parts of long messages, and garbage service SMS.
Supporst: English, Russian, Chinese (probably any language)
If someone maybe will need this here you go, feel free for edit or improve:
Github:
https://github.com/FlowerShopGuy/mikrotik-sms-telegram-forwarder/tree/main