mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 22:45:38 +00:00
updated example Programs.cs
This commit is contained in:
parent
34f05f5947
commit
0667d36ed8
5 changed files with 4 additions and 8 deletions
|
|
@ -14,7 +14,6 @@ namespace WTelegramClientTest
|
|||
{
|
||||
Console.WriteLine("The program will download photos/medias from messages you send/forward to yourself (Saved Messages)");
|
||||
using var client = new WTelegram.Client(Environment.GetEnvironmentVariable);
|
||||
await client.ConnectAsync();
|
||||
var user = await client.LoginUserIfNeeded();
|
||||
client.Update += Client_Update;
|
||||
Console.ReadKey();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue