/// <summary> /// Check keyword /// </summary> /// <param name="account">Sms account</param> /// <param name="checkKeywordOptions">Check keyword options</param> /// <returns>Return check keyword result</returns> public static async Task <CheckKeywordResult> CheckKeywordAsync(SmsAccount account, CheckKeywordOptions checkKeywordOptions) { var smsProvider = GetSmsProvider(); return(await ExecuteAsync(account, checkKeywordOptions, smsProvider.CheckKeywordAsync).ConfigureAwait(false)); }
/// <summary> /// Check keyword /// </summary> /// <param name="account">Sms account</param> /// <param name="checkKeywordOptions">Check keyword options</param> /// <returns>Return check keyword result</returns> public static CheckKeywordResult CheckKeyword(SmsAccount account, CheckKeywordOptions checkKeywordOptions) { return(CheckKeywordAsync(account, checkKeywordOptions).Result); }
/// <summary> /// Check keyword /// </summary> /// <param name="checkKeywordOptions">Check keyword options</param> /// <returns>Return check keyword result</returns> public static CheckKeywordResult CheckKeyword(CheckKeywordOptions checkKeywordOptions) { return(CheckKeywordAsync(checkKeywordOptions).Result); }