toggle menu
ZappBase
androidJvm
switch theme
search in API
Chat
/
com.zappstudio.zappchat.data.entity
/
MessageEntity
Message
Entity
data
class
MessageEntity
(
var
id
:
String
=
""
,
var
timestamp
:
Any
=
ServerValue.TIMESTAMP
,
var
type
:
Int
=
0
,
var
sender
:
String
=
""
,
var
content
:
HashMap
<
String
,
Any
>
=
hashMapOf()
,
var
user
:
Map
<
String
,
MessageInfEntity
>
=
mutableMapOf()
)
Members
Constructors
Message
Entity
Link copied to clipboard
constructor
(
id
:
String
=
""
,
timestamp
:
Any
=
ServerValue.TIMESTAMP
,
type
:
Int
=
0
,
sender
:
String
=
""
,
content
:
HashMap
<
String
,
Any
>
=
hashMapOf()
,
user
:
Map
<
String
,
MessageInfEntity
>
=
mutableMapOf()
)
Properties
content
Link copied to clipboard
var
content
:
HashMap
<
String
,
Any
>
id
Link copied to clipboard
var
id
:
String
sender
Link copied to clipboard
var
sender
:
String
timestamp
Link copied to clipboard
var
timestamp
:
Any
type
Link copied to clipboard
var
type
:
Int
user
Link copied to clipboard
var
user
:
Map
<
String
,
MessageInfEntity
>