toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
servers-service
/
piperkt.services.servers.domain.factory
/
ChannelFactory
/
createFromType
create
From
Type
fun
createFromType
(
name
:
String
,
description
:
String
,
type
:
String
,
id
:
String
=
ChannelId().value
,
channelMessages
:
MutableList
<
ChannelMessage
>
=
mutableListOf()
)
:
Channel