Create a keyboard shortcut for macOS Share Menu
You can set the custom shortcuts via System Preferences -> Keyboard -> Shortcuts -> App Shortcuts

The trick is to specify the exact path to the menu item. For instance if you wish to add a shortcut for Share Messages, you have to write for "Menu Title":

File-&gt;Share-&gt;Messages