Initializing client
MTProto Reserved Variables
Don't Change MTProto Reserved Variable if Exists (prefixed with "MT") !
To initialize client you need to create a store in which TLSharp will save Session info.
var store = new FileSessionStore();
Next, create client instance and connect to Telegram server. You need your API_ID and API_HASH for this step.
var client = new TelegramClient(store, "session", API_ID, "API_HASH");
await client.Connect();
Now, you can call methods.
All methods except IsPhoneRegistered requires to authenticated user.
Updated less than a minute ago