abstract fun createResponse(agent: Agent, recordId: String): Single<Pair<SentResponse, ConnectionResponseMessage>>
Creates a response message from a record with the given ID.
agent
- for which to execute the action.
recordId
- is the ID of a record from which the response will be created.
Return
Single of a Pair of ConnectionRecord.SentResponse and
ConnectionResponseMessage, the updated record and the created response message.