getButtonPress abstract method
- Message message
Wait for a user to press on any button on a given message and return a context representing the button press.
You might also be interested in:
- awaitButtonPress, for getting a press from a single button;
- getButtonSelection, for getting a value from a button selection;
- getSelection, for getting a selection from a multi-select menu.
Implementation
Future<ButtonComponentContext> getButtonPress(Message message);