Is there a way to have a dropdown that helps to ask for the correct parameter/argument for a self-made function UDF?

Like the Enum but then not only accepting numbers but also boolean, strings, ranges and even missing.

myFunction(...
"pause" returning false
"resume" returning true
"cancel" returning -2
"text" returning "string"
"number" returning 123
"previous" returning Missing