Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Target.ReceivedMessageFromTargetEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { ReceivedMessageFromTargetEvent } = Protocol.Target;

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

Properties

sessionId: SessionID

Identifier of a session which sends a message.

message: string
optional
targetId: TargetID

Deprecated.