/// <summary> /// Archives a private channel. /// <see href="https://api.slack.com/methods/groups.archive" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='token'> /// Authentication token. Requires scope: `groups:write` /// </param> /// <param name='channel'> /// Private channel to archive /// </param> public static ArchiveOKResponseModelModel Archive(this IGroups operations, string token = default(string), string channel = default(string)) { return(operations.ArchiveAsync(token, channel).GetAwaiter().GetResult()); }