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

x/mtkruto/types/6_update.ts>UpdateMessagesDeleted

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

optional
scheduled: boolean
optional
businessConnectionId: string