diff --git a/telecup_cli.py b/telecup_cli.py index b2f90c9..0c5d10c 100644 --- a/telecup_cli.py +++ b/telecup_cli.py @@ -296,7 +296,8 @@ async def login(config: Config): Log into your telegram account interactively and save the login information to session file """ await config.client.start() - click.echo(f'You are logged in as {await config.client.get_me().first_name}') + me = await config.client.get_me() + click.echo(f'You are logged in as {me.first_name}') click.echo('To switch user: either pass another session-file or remove existing')