Interface MenuResult
public interface MenuResult
An object containing information about the returned menu result.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builderstatic classThe type of input received.static classThe type of information that's returned. -
Method Summary
Modifier and TypeMethodDescriptionstatic MenuResult.Builderbuilder()Getting builderThe type of input received.The ID of the menu that triggered the prompt input event.getType()The type of information that's returned.getValue()The value of the returned information.
-
Method Details
-
getMenuId
String getMenuId()The ID of the menu that triggered the prompt input event.- Returns:
- menuId
-
getType
MenuResult.TypeEnum getType()The type of information that's returned.- Returns:
- type
-
getValue
String getValue()The value of the returned information.- Returns:
- value
-
getInputMethod
MenuResult.InputMethodEnum getInputMethod()The type of input received.- Returns:
- inputMethod
-
builder
Getting builder- Returns:
- New Builder instance
-