toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
servers-service
/
piperkt.services.servers.domain.factory
/
ServerFactory
/
createServer
create
Server
fun
createServer
(
name
:
String
,
description
:
String
,
owner
:
String
,
channels
:
List
<
Channel
>
=
emptyList()
,
users
:
List
<
String
>
=
listOf(owner)
,
id
:
String
=
ServerId().value
)
:
Server