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

x/mtkruto/types/6_update.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.141/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: MessageIdentifier[]

The deleted messages.