Interface MenuResult
public interface MenuResult
An object containing information about the returned menu result.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builderstatic class
The type of input received.static class
The type of information that's returned. -
Method Summary
Modifier and TypeMethodDescriptionstatic MenuResult.Builder
builder()
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
-