Skip to content

Error #14

@Duplicake-fyi

Description

@Duplicake-fyi

I backed up my chat with someone else (by clicking on the export chat button) but they deleted their account. I am trying to import the backup into telegram, but I get this error:

usage: telegram_import [-h] --path PATH --peer PEER [--test_only]
telegram_import: error: argument --peer: expected one argument
zsh: command not found: NUMBER OF PERSON I'M CHATTING TO

My command is like this: python3 telegram_import.py --path "/Users/MY USER/Downloads/JsonMessages" --peer
"+44{rest of number, no spaces. Also, the number of the person I'm chatting to}"

I'm on a Mac and the API key I inputted into the config is an API key made on my account (and phone number of course) from https://my.telegram.org/apps

I don't know if this is a bug or me just not understanding the syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions