mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-07 07:23:59 +00:00
Added Examples/Program_GetAllChats
This commit is contained in:
parent
609e8a6a2d
commit
f296e6b36d
4 changed files with 63 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ namespace WTelegramClientTest
|
|||
// go to Project Properties > Debug > Environment variables and add at least these: api_id, api_hash, phone_number
|
||||
static async Task Main(string[] _)
|
||||
{
|
||||
Console.WriteLine("The program demonstrate how load/save/use collected access hash.");
|
||||
Console.WriteLine("The program demonstrate how to load/save/use collected access hash.");
|
||||
WTelegram.Helpers.Log = (l, s) => System.Diagnostics.Debug.WriteLine(s);
|
||||
using var client = new WTelegram.Client(Environment.GetEnvironmentVariable);
|
||||
client.CollectAccessHash = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue