TELEGRAM | telegram-cli | some hints

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/

telegram | channel linux console scripting setup

install telegram-send on mobile phone: create a public channel + get the url create a bot by talking to botfather + get the apikey (the leading number is part of the key) make your bot a channel admin run # telegram-send –config ~/.config/telegram-send-MYCHANNEL.cfg –configure-channel https://github.com/rahiel/telegram-send https://core.telegram.org/bots/api#formatting-options printf “huhu \U0001F4A8\n\U0001F4A7” | telegram-send –disable-web-page-preview –config ~/.config/telegram-send.conf –format […]