خرید بک لینک

Vote count: 0

Hi I am using TLSharp to send messages.

public async Task AuthUser()
    {
        var store = new FileSessionStore();
        var client = new TelegramClient(store, "session");

        await client.Coect(); // here my application stops and do nothing

        var hash = await client.SendCodeRequest(NumberToAuthenticate);
        var code = "93463"; // you can change code in debugger

        var user = await client.MakeAuth(NumberToAuthenticate, hash, code);


    }

I have replaced the apiHash and apiId in TelegramClient.cs file also.

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 14 فروردين 1395 ساعت: 14:15

صفحه بندی