Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>UpdateDeletedMessages

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface UpdateDeletedMessages
import { type UpdateDeletedMessages } from "https://deno.land/x/mtkruto@0.1.157/mod.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.