always use the -W parameter, otherwise you will earn an error (38: can not parse arg #1) that means your peer is unknown
afaik its impossible to send strings to stdin
address clients/channels whos name contain spaces by their id (user#1234567890 or channel#1234567890)
use the -I and -N parameters
still problematic? try https://bytesandbones.wordpress.com/2021/11/03/telegram-channel-linux-console-scripting-setup/