SecureMessenger
Toggle table of contents
1.0.0
release
Target filter
release
Switch theme
Search in API
Skip to content
SecureMessenger
data
/
ltechnologies.onionphone.securemessenger.data.db
/
ConversationEntity
Conversation
Entity
data
class
ConversationEntity
(
val
id
:
String
,
val
protocol
:
String
,
val
accountId
:
String
,
val
remoteId
:
String
,
val
title
:
String
,
val
lastMessagePreview
:
String
?
,
val
lastMessageAt
:
Long
,
val
unreadCount
:
Int
)
Members
Members & Extensions
Constructors
Conversation
Entity
Link copied to clipboard
constructor
(
id
:
String
,
protocol
:
String
,
accountId
:
String
,
remoteId
:
String
,
title
:
String
,
lastMessagePreview
:
String
?
,
lastMessageAt
:
Long
,
unreadCount
:
Int
)
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
:
String
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
Functions
to
Domain
Link copied to clipboard
fun
ConversationEntity
.
toDomain
(
)
:
Conversation