Knock.Preferences.set_channel_types

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

set_channel_types(client, user_id, channel_types, options \\ [])

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

Sets the channel type preferences for the user