Skip to content

Commit a2e967b

Browse files
committed
docs(README): support desktop session
1 parent e9bfda8 commit a2e967b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,12 @@ tdl version
4141
# use proxy, only support socks now
4242
tdl --proxy socks5://localhost:1080
4343

44-
# login your account with a name
44+
# login your account with a name, default is phone & code mode
4545
tdl login -n iyear
4646

47+
# if you have official desktop client on machine, you can import its session
48+
tdl login -n iyear-desktop -d /path/to/Telegram
49+
4750
# list your chats
4851
tdl chat ls -n iyear
4952

0 commit comments

Comments
 (0)