toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
servers-service
/
piperkt.services.servers.presentation
/
ChannelMessageDTO
Channel
Message
DTO
data
class
ChannelMessageDTO
(
val
id
:
String
,
val
sender
:
String
,
val
content
:
String
,
val
timestamp
:
String
=
java.time.Instant.now().toString()
)
Members
Constructors
Channel
Message
DTO
Link copied to clipboard
constructor
(
id
:
String
,
sender
:
String
,
content
:
String
,
timestamp
:
String
=
java.time.Instant.now().toString()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
content
Link copied to clipboard
val
content
:
String
id
Link copied to clipboard
val
id
:
String
sender
Link copied to clipboard
val
sender
:
String
timestamp
Link copied to clipboard
val
timestamp
:
String
Functions
to
Domain
Link copied to clipboard
fun
toDomain
(
)
:
ChannelMessage