ChatContextDto.kt (634B)
1 package org.gnunet.gnunetmessenger.ipc 2 3 import android.os.Parcelable 4 import kotlinx.parcelize.Parcelize 5 6 @Parcelize 7 data class ChatContextDto( 8 var chatContextType: Int = 0, 9 var userPointer: String? = null, 10 var isGroup: Boolean = false, 11 var isPlatform: Boolean = false, 12 // Stable pointer to the native GNUNET_CHAT_Context*, kept separate from 13 // userPointer so the client can overwrite userPointer with a UUID for its 14 // own chat-keying without breaking IPC ops that need the native context 15 // handle (sendText, iterateContextMessages, etc.). 16 var nativeContextPointer: String? = null 17 ) : Parcelable