mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
1.1 KiB
Markdown
23 lines
1.1 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Target](./puppeteer.protocol.target.md) > [ReceivedMessageFromTargetEvent](./puppeteer.protocol.target.receivedmessagefromtargetevent.md)
|
|
|
|
## Protocol.Target.ReceivedMessageFromTargetEvent interface
|
|
|
|
Notifies about a new protocol message received from the session (as reported in `attachedToTarget` event).
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface ReceivedMessageFromTargetEvent
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [message](./puppeteer.protocol.target.receivedmessagefromtargetevent.message.md) | string | |
|
|
| [sessionId](./puppeteer.protocol.target.receivedmessagefromtargetevent.sessionid.md) | [SessionID](./puppeteer.protocol.target.sessionid.md) | Identifier of a session which sends a message. |
|
|
| [targetId](./puppeteer.protocol.target.receivedmessagefromtargetevent.targetid.md) | [TargetID](./puppeteer.protocol.target.targetid.md) | Deprecated. |
|
|
|