/// <summary> /// Searches for messages and files matching a query. /// <see href="https://api.slack.com/methods/search.all" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='sortDir'> /// Change sort direction to ascending (`asc`) or descending (`desc`). /// </param> /// <param name='query'> /// Search query. May contains booleans, etc. /// </param> /// <param name='sort'> /// Return matches sorted by either `score` or `timestamp`. /// </param> /// <param name='count'> /// </param> /// <param name='token'> /// Authentication token. Requires scope: `search:read` /// </param> /// <param name='highlight'> /// Pass a value of `true` to enable query highlight markers (see below). /// </param> /// <param name='page'> /// </param> public static AllOKResponse All(this ISearch operations, string sortDir = default(string), string query = default(string), string sort = default(string), string count = default(string), string token = default(string), bool?highlight = default(bool?), string page = default(string)) { return(operations.AllAsync(sortDir, query, sort, count, token, highlight, page).GetAwaiter().GetResult()); }