updated example Programs.cs

This commit is contained in:
Wizou 2022-02-13 03:15:23 +01:00
parent 34f05f5947
commit 0667d36ed8
5 changed files with 4 additions and 8 deletions

View file

@ -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();