from

fun from(data: ChannelData, kord: Kord, strategy: EntitySupplyStrategy<*> = kord.resources.defaultStrategy): Channel(source)

Creates a Channel of the type defined in the ChannelData.type. If the type is not any known type, then an anonymous channel will be created.