Share prototype URL from a plugin

I’m working on a public plugin that will send an email to an user with the prototype URL of the selected page without the need for the user to copy the url from the share button.
After searching this forum I’m left with the impression that only private plugins have access to the fileKey that is needed to create the URL.
Is this true? Or can I generate the prototype URL with another approach?

Nothing has changed since then.

Please refer to the documentation:

fileKey: string | undefined [readonly]
The file key of the current file this plugin is running on. Only private plugins and Figma-owned resources (such as the Jira and Asana widgets) have access to this. To enable this behavior, you need to specify enablePrivatePluginApi in your manifest.json.

figma | Plugin API