delete method

Future<void> delete()

Delete original response to interaction

Example :

await interaction.reply(content: 'Foo', private: true);

await Future.delayed(Duration(seconds: 5), () async => {
  await interaction.delete();
});

Implementation

Future<void> delete () async {
  await ioc.use<HttpService>().destroy(url: "/webhooks/$applicationId/$token/messages/@original");
}