Add method to check channel name validity
Merge branch 'master' into c
update generated_c