If you build a feature, make it discoverable. I’ve been using macOS for about ten years now, and this is the first time I hear there are default shortcuts for dialog buttons. In Windows you just press Alt and every button that has a shortcut is revealed. In macOS, I guess, your only option is to read a developer documentation?
Thx @andreuvoronin for the picture