Optionalfallbackflat-mainmenu-commands when only the flat command list could be built.
The i18n used.
The top-level nodes.
The locale used.
The root that was asked for.
Label of the submenu returned; empty for the whole menu.
Whether root was found; true when none was asked for, except on the flat list, which is always false.
Optionalsourcev1-hmenu when the tree was built from the Win32 menus.
Always true here; a failed call resolves with ApiFailure instead.
The withAvailability used.
Successful response from
menu.getMainMenu.