Knock.Preferences.set_channel_type

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

set_channel_type(client, user_id, channel_type, setting, options \\ [])

View Source
This function is deprecated. Use Users.set_channel_type_preferences/5 instead.

Sets the channel type preferences for the user