import { type UpdateMessagesDeleted } from "https://deno.land/x/mtkruto@0.6.2/types/6_update.ts";
One or more messages were deleted.
client.on("deletedMessages", (ctx) => {
for (const deletedMessage of ctx.deletedMessages) {
console.log(deletedMessage);
}
});
Properties
deletedMessages: MessageReference[]
The deleted messages