I am running Telegram-CLI as a daemon .
I can successfully connect to my daemon using netcat on localhost host and send commands to it in the form of:
echo -e 'msg user whatever' | nc.traditional -w 1 127.0.0.1 1234
However, when I connect nc to my telegram daemon I don't see any output from all the telegram events such as when I run telegram-cli in independent mode .
How can I access all telegram events from my telegram-cli daemon and get the msg_id for each of them ?