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