mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 11:32:30 +00:00
Make Session more convenient to use
This commit is contained in:
@@ -17,11 +17,7 @@ async def test_ping_pong() -> None:
|
||||
assert api_hash
|
||||
client = Client(
|
||||
Config(
|
||||
session=Session(
|
||||
dcs=[],
|
||||
user=None,
|
||||
state=None,
|
||||
),
|
||||
session=Session(),
|
||||
api_id=int(api_id),
|
||||
api_hash=api_hash,
|
||||
)
|
||||
|
Reference in New Issue
Block a user