library
androidJvm
library
/
org.xmtp.android.library
/
Conversation
/
V1
V1
data
class
V1
(
val
conversationV1
:
ConversationV1
)
:
Conversation
Members
Constructors
V1
Link copied to clipboard
constructor
(
conversationV1
:
ConversationV1
)
Functions
decode
Link copied to clipboard
fun
decode
(
envelope
:
Envelope
)
:
DecodedMessage
messages
Link copied to clipboard
fun
messages
(
limit
:
Int
?
=
null
,
before
:
Date
?
=
null
,
after
:
Date
?
=
null
)
:
List
<
DecodedMessage
>
prepare
Message
Link copied to clipboard
fun
<
T
>
prepareMessage
(
content
:
T
,
options
:
SendOptions
?
=
null
)
:
PreparedMessage
send
Link copied to clipboard
fun
<
T
>
send
(
content
:
T
,
options
:
SendOptions
?
=
null
)
fun
send
(
text
:
String
,
sendOptions
:
SendOptions
?
=
null
,
sentAt
:
Date
?
=
null
)
stream
Messages
Link copied to clipboard
fun
streamMessages
(
)
:
Flow
<
DecodedMessage
>
Properties
client
Link copied to clipboard
val
client
:
Client
conversation
Id
Link copied to clipboard
val
conversationId
:
String
?
conversation
V1
Link copied to clipboard
val
conversationV1
:
ConversationV1
created
At
Link copied to clipboard
val
createdAt
:
Date
key
Material
Link copied to clipboard
val
keyMaterial
:
ByteArray
?
peer
Address
Link copied to clipboard
val
peerAddress
:
String
topic
Link copied to clipboard
val
topic
:
String
version
Link copied to clipboard
val
version
:
Conversation.Version