requestPermission from a click, then open with a title and body to show a system notification once the user allows it.duration in seconds to close the notification on its own, like a short heads-up that a reply is ready.tag, then call close with that tag to remove it, and to stop a second open with that tag from showing a duplicate.onClick to bring the tab back into focus when the user clicks the notification, and close it with the function it receives.