/// <summary> /// Clones and archives a private channel. /// <see href="https://api.slack.com/methods/groups.createChild" /> /// </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 clone and archive. /// </param> public static CreateChildOKResponse CreateChild(this IGroups operations, string token = default(string), string channel = default(string)) { return(operations.CreateChildAsync(token, channel).GetAwaiter().GetResult()); }