/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='searchValue'> /// </param> /// <param name='lang'> /// </param> /// <param name='channelId'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetYoutubeSearchResultsAsync(this IMaterialApi operations, string searchValue, string lang, string channelId = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetYoutubeSearchResultsWithHttpMessagesAsync(searchValue, lang, channelId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }