core
Toggle table of contents
1.2.0
common
Platform filter
common
Switch theme
Search in API
core
core
/
com.cloudflare.realtimekit.chat
/
ChatMessage
Chat
Message
open
class
ChatMessage
(
val
userId
:
String
,
val
displayName
:
String
,
val
read
:
Boolean
,
val
pluginId
:
String
?
,
val
type
:
ChatMessageType
,
val
time
:
String
,
val
createdAtMillis
:
Long
,
val
targetUserIds
:
List
<
String
>
?
)
Inheritors
TextMessage
ImageMessage
FileMessage
Members
Constructors
Chat
Message
Link copied to clipboard
constructor
(
userId
:
String
,
displayName
:
String
,
read
:
Boolean
,
pluginId
:
String
?
,
type
:
ChatMessageType
,
time
:
String
,
createdAtMillis
:
Long
,
targetUserIds
:
List
<
String
>
?
)
Properties
created
At
Millis
Link copied to clipboard
val
createdAtMillis
:
Long
display
Name
Link copied to clipboard
val
displayName
:
String
plugin
Id
Link copied to clipboard
val
pluginId
:
String
?
read
Link copied to clipboard
val
read
:
Boolean
target
User
Ids
Link copied to clipboard
val
targetUserIds
:
List
<
String
>
?
time
Link copied to clipboard
val
time
:
String
type
Link copied to clipboard
val
type
:
ChatMessageType
user
Id
Link copied to clipboard
val
userId
:
String