public void SendConfirmPhoneCodeAsync(string hash, bool currentNumber, Action <TLAuthSentCode> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAccountSendConfirmPhoneCode { Flags = 0, Hash = hash, CurrentNumber = currentNumber }; SendInformativeMessage("account.sendConfirmPhoneCode", obj, callback, faultCallback); }
public void SendConfirmPhoneCodeAsync(string hash, bool currentNumber, Action <TLAuthSentCode> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAccountSendConfirmPhoneCode { Flags = 0, Hash = hash, CurrentNumber = currentNumber }; const string caption = "account.sendConfirmPhoneCode"; SendInformativeMessage(caption, obj, callback, faultCallback, flags: RequestFlag.FailOnServerError); }