public void CancelCodeAsync(string phoneNumber, string phoneCodeHash, Action <bool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAuthCancelCode { PhoneNumber = phoneNumber, PhoneCodeHash = phoneCodeHash }; SendInformativeMessage("auth.cancelCode", obj, callback, faultCallback); }
public void CancelCodeAsync(string phoneNumber, string phoneCodeHash, Action <bool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAuthCancelCode { PhoneNumber = phoneNumber, PhoneCodeHash = phoneCodeHash }; const string caption = "auth.cancelCode"; SendInformativeMessage(caption, obj, callback, faultCallback, flags: RequestFlag.FailOnServerError | RequestFlag.WithoutLogin); }