IpcRendererEvent.senderId
IpcRendererEvent › senderId
Unofficial
Type: number
ThewebContents.id that sent the message. Call event.sender.sendTo(event.senderId, ...) to reply to the message; this only applies to messages sent from a different renderer. Messages sent directly from the main process set senderId to 0.