得到 Channel.type 对应的 Channel.Type 枚举值。
1 ->Channel.Type.TEXT
1
2 ->Channel.Type.VOICE
2
其他 -> 抛出 NoSuchElementException
类型不是 Channel.Type 中的可选项