awaitButtonPress abstract method

Future<ButtonComponentContext> awaitButtonPress(
  1. ComponentId componentId
)

Wait for a user to press a button and return a context representing that button press.

You might also be interested in:

Implementation

Future<ButtonComponentContext> awaitButtonPress(ComponentId componentId);