channel_type/1, legal_channel_name_char/1