I used ./tg init --token my-bot-token. Then I tryied to ./tg download chatid msgid and got
tg: callback: not authorized: run `tg login` first
while ./tg download --bot chatid msgid says:
If I do ./tg login first, the download command (without --bot), gives:
tg: callback: resolve peer "XXXX": contact not found
I assume this is because it is trying to dowload it as the logged user, not the bot.
I used
./tg init --token my-bot-token. Then I tryied to./tg download chatid msgidand gotwhile
./tg download --bot chatid msgidsays:If I do
./tg loginfirst, the download command (without--bot), gives:I assume this is because it is trying to dowload it as the logged user, not the bot.