acknowledge method
- bool? isEphemeral,
Acknowledge this interaction.
Implementation
Future<void> acknowledge({bool? isEphemeral}) async {
if (_didAcknowledge) {
throw AlreadyAcknowledgedError(this);
}
_didAcknowledge = true;
_wasEphemeral = isEphemeral;
await manager.createResponse(id, token, InteractionResponseBuilder.deferredChannelMessage(isEphemeral: isEphemeral));
}