abstract fun createMessage(agent: Agent, message: String, connectionContext: ConnectionContext): Single<BasicMessageRecord>
Creates a message for the given context (should be a connection ID), but does not send it.
agent
- agent to create message for
message
- the message contents
connectionContext
- the connection context for the created message
Return
Single of BasicMessageRecord, the record representing the message.