delete method

Future<void> delete({
  1. String? reason,
})

Delete this

Implementation

Future<void> delete ({ String? reason }) async {
  await ioc.use<DiscordApiHttpService>()
    .destroy(url: '/channels/${channel.id}/messages/$id')
    .auditLog(reason)
    .build();
}