Knock.Preferences.set_categories

You're seeing just the function set_categories, go back to Knock.Preferences module for more information.
Link to this function

set_categories(client, user_id, categories, options \\ [])

View Source
This function is deprecated. Use Users.set_categories_preferences/4 instead.

Sets the workflow preferences for the user