SecureMessenger
Toggle table of contents
1.0.0
release
Target filter
release
Switch theme
Search in API
Skip to content
SecureMessenger
model
/
ltechnologies.onionphone.securemessenger.core.model
/
Conversation
Conversation
data
class
Conversation
(
val
id
:
String
,
val
protocol
:
ProtocolId
,
val
accountId
:
String
,
val
remoteId
:
String
,
val
title
:
String
,
val
lastMessagePreview
:
String
?
=
null
,
val
lastMessageAt
:
Long
=
0
,
val
unreadCount
:
Int
=
0
)
Members
Constructors
Conversation
Link copied to clipboard
constructor
(
id
:
String
,
protocol
:
ProtocolId
,
accountId
:
String
,
remoteId
:
String
,
title
:
String
,
lastMessagePreview
:
String
?
=
null
,
lastMessageAt
:
Long
=
0
,
unreadCount
:
Int
=
0
)
Properties
account
Id
Link copied to clipboard
val
accountId
:
String
id
Link copied to clipboard
val
id
:
String
last
Message
At
Link copied to clipboard
val
lastMessageAt
:
Long
last
Message
Preview
Link copied to clipboard
val
lastMessagePreview
:
String
?
protocol
Link copied to clipboard
val
protocol
:
ProtocolId
remote
Id
Link copied to clipboard
val
remoteId
:
String
title
Link copied to clipboard
val
title
:
String
unread
Count
Link copied to clipboard
val
unreadCount
:
Int