public void ConfirmPhoneAsync(string phoneCodeHash, string phoneCode, Action <bool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAccountConfirmPhone { PhoneCodeHash = phoneCodeHash, PhoneCode = phoneCode }; SendInformativeMessage("account.confirmPhone", obj, callback, faultCallback); }
public void ConfirmPhoneAsync(string phoneCodeHash, string phoneCode, Action <bool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAccountConfirmPhone { PhoneCodeHash = phoneCodeHash, PhoneCode = phoneCode }; const string caption = "account.confirmPhone"; SendInformativeMessage(caption, obj, callback, faultCallback, flags: RequestFlag.FailOnServerError); }