-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
Hi,
Just installed your appication as a test, but I can't get it working . No idea what i'm doing wrong here :-)
python3 forwardgram.py config.yml-sample
File "forwardgram.py", line 27
logger.error(f"Could not find any output channels in the user's dialogs")
^
SyntaxError: invalid syntax
I just did a copy/paste from a Telegram Channel/Group it's name. Or should I work with Channel/Group ID's ?
This is my config file:
api_id: xxxxxx # This has to be an integer. Read more [here](https://core.telegram.org/api/obtaining_api_id)
api_hash: 'xxxxxxxxxxxxx' # Long 32 characters hash identifier. Read more [here](https://core.telegram.org/api/obtaining_api_id)
session_name: 'forwardgram' # Session name. Only one session (with a unique session name) can run at a time
# The channel names that you'd like to forward messages from.
# The user running the client must have these channels present on it's dialogs.
input_channel_names:
- 'Binance English'
# The output channel names that the messages will be forwarded to.
# The user running the client must have a write access to those channels, and have the channels present on theirs dialogs.
output_channel_names:
- 'test'
I don't even get to the point where I need to enter my phone number to authenticate against Telegram.
Any hint? Thanks!
Metadata
Metadata
Assignees
Labels
No labels