from

fun from(value: Int): ChannelType(source)

Returns an instance of ChannelType with ChannelType.value equal to the specified value.