ElectronNotification.on('reply') method
ElectronNotification › on(‘reply’)
Unofficial
Registers an event listener that is invoked when the user clicks the "Reply" button on a notification withhasReply: true. darwin only. Signature:
on(event: "reply", listener: (event: ElectronEvent, reply: string) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "reply" | The event name. |
| listener | (event: ElectronEvent, reply: string) => void | The event handler receiving the event and the string the user entered into the inline reply field. |
Returns: this — This notification instance.