/// <summary> /// Adds the specified permission to a client in a specific channel. /// </summary> /// <param name="channelId">the id of the channel</param> /// <param name="clientDatabaseId">the database id of the client</param> /// <param name="permission">the permission to add</param> public SimpleResponse AddChannelClientPermission(uint channelId, uint clientDatabaseId, PermissionLight permission) { return AddChannelClientPermissions(channelId,clientDatabaseId, new[] { permission }); }
/// <summary> /// Adds the specified permission to a channel group. /// </summary> /// <param name="channelGroupId">the id of the channel group</param> /// <param name="permission">the permission to add</param> public SimpleResponse AddChannelGroupPermission(uint channelGroupId, PermissionLight permission) { return AddChannelGroupPermissions(channelGroupId, new[] { permission }); }