cancel

Cancels an interaction by id. This only applies to background interactions that are still running.


public CompletableFuture<Interaction> cancel(String id, InteractionCancelParams params, RequestOptions requestOptions)
public abstract CompletableFuture<Interaction> cancel(InteractionCancelParams params, RequestOptions requestOptions)
public CompletableFuture<Interaction> cancel(String id, RequestOptions requestOptions)

See also