acknowledge abstract method

Future<void> acknowledge(
  1. String token,
  2. String interactionId,
  3. bool hidden,
  4. int opCode
)

Acknowledges interaction that response can be sent within next 15 mins. Response will be ephemeral if hidden is set to true. To response to different interaction types (slash command, button...) opCode is used.

Implementation

Future<void> acknowledge(String token, String interactionId, bool hidden, int opCode);