Skip to content
Snippets Groups Projects
Commit 4c0f99ba authored by Kamal Bramwell's avatar Kamal Bramwell
Browse files

Updated Bindings Message model ByteArray args to Strings

These strings must be decoded from base64 -> ByteArray by the client
parent d8f53065
No related branches found
No related tags found
No related merge requests found
package io.elixxir.xxclient.models
import com.google.gson.annotations.SerializedName
import io.elixxir.xxclient.utils.Payload
data class Message(
@SerializedName("MessageType")
val messageType: Long,
val id: ByteArray,
val payload: Payload,
val sender: ByteArray,
val recipientId: ByteArray,
@SerializedName("ID")
val id: String,
@SerializedName("Payload")
val payload: String,
@SerializedName("Sender")
val sender: String,
@SerializedName("RecipientID")
val recipientId: String,
@SerializedName("EphemeralID")
val ephemeralId: Long,
@SerializedName("Timestamp")
val timestamp: Long,
@SerializedName("Encrypted")
val encrypted: Boolean,
@SerializedName("RoundId")
val roundId: Long,
@SerializedName("RoundURL")
val roundUrl: String?
) : BindingsModel
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment