MessageFactory

Properties

Link copied to clipboard
abstract val contextMessage: RawMessage?
Link copied to clipboard
abstract val messageId: List<ByteArray>
Link copied to clipboard
abstract val sessionId: String
Link copied to clipboard
abstract val username: String

Functions

Link copied to clipboard
fun MessageFactory.makeReplyMessage(msgType: MessageType? = null, sessionId: String? = null, header: MessageHeader? = null, parentHeader: MessageHeader? = null, metadata: JsonElement? = null, content: MessageContent? = null): Message
Link copied to clipboard
abstract fun makeReplyMessageOrNull(msgType: MessageType? = null, sessionId: String? = null, header: MessageHeader? = null, parentHeader: MessageHeader? = null, metadata: JsonElement? = null, content: MessageContent? = null): Message?
Link copied to clipboard
abstract fun updateContextMessage(contextMessage: RawMessage?)
Link copied to clipboard
abstract fun updateSessionInfo(message: RawMessage)