ConversationV2

data class ConversationV2(val topic: String, val keyMaterial: ByteArray, val context: Invitation.InvitationV1.Context, val peerAddress: String, val client: Client, header: SealedInvitationHeaderV1)

Constructors

Link copied to clipboard
constructor(topic: String, keyMaterial: ByteArray, context: Invitation.InvitationV1.Context, peerAddress: String, client: Client, header: SealedInvitationHeaderV1)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <Codec : ContentCodec<T>, T> encode(codec: Codec, content: T): ByteArray
Link copied to clipboard
fun messages(limit: Int? = null, before: Date? = null, after: Date? = null): List<DecodedMessage>
Link copied to clipboard
fun <T> prepareMessage(content: T, options: SendOptions?): PreparedMessage
Link copied to clipboard
fun <T> send(content: T, options: SendOptions? = null): String
fun send(text: String, options: SendOptions? = null, sentAt: Date? = null): String
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val context: Invitation.InvitationV1.Context
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard