UpdateMessagesDeleted

One or more messages were deleted.

client.on("deletedMessages", (ctx) => {
  for (const deletedMessage of ctx.deletedMessages) {
    console.log(deletedMessage);
  }
});

Properties

deletedMessages: MessageReference[]
DISCRIMINATOR

The deleted messages

scheduled?: boolean
businessConnectionId?: string