Skip to content

How to download message as bot? #266

Description

@pocomane

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:

tg: unknown flag: --bot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions