update Channel Settings
Updates the ChannelSettings list with the provided channel and returns the index of the admin channel after the update (if not found, returns 0).
Return
the index of the admin channel after the update (if not found, returns 0).
Parameters
channel
The Channel provided.