Open leftside2 opened 2 years ago
I have the same issue. It seems that telegram-send is ignoring the --config and just trying to load the default user configuration file:
$ strace telegram-send --config /config/mytelegram.conf "foobar"
...
openat(AT_FDCWD, "/root/.config/telegram-send.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(1, "\33[31mConfig not found\33[0m\n", 26Config not found
Today suddenly it didn't work.
So I $ pip install telegram-send # but '--config' stopped working, but requires '--configure'. So I $ telegram-send --configure [path to BotFather config] "hello test" # but it showed the following prompt:
So I did, $ pip install telegram-send==0.25 # it worked like a charm.
Wiered.