ReceivedMessageFromTarget

@Serializable
data class ReceivedMessageFromTarget(val sessionId: SessionID, val message: String, val targetId: TargetID? = null) : TargetEvent

Notifies about a new protocol message received from the session (as reported in attachedToTarget event).

Official doc

Constructors

Link copied to clipboard
constructor(sessionId: SessionID, message: String, targetId: TargetID? = null)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

Identifier of a session which sends a message.

Link copied to clipboard
val targetId: TargetID? = null

Deprecated.