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

x/mtkruto/3_types.ts>UpdateMessageScheduled

Cross-runtime JavaScript library for building Telegram clients
Latest
interface UpdateMessageScheduled
import { type UpdateMessageScheduled } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

A message was scheduled. User-only.

client.on("scheduledMessage", (ctx) => {
  console.log("A message was just schedueld.");
  // ctx.scheduledMessage
});

Properties

scheduledMessage: Message

The scheduled message.