awaitButtonPress abstract method
- ComponentId componentId
Wait for a user to press a button and return a context representing that button press.
You might also be interested in:
- awaitSelection and awaitMultiSelection, for getting a selection from a user.
Implementation
Future<ButtonComponentContext> awaitButtonPress(ComponentId componentId);