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

x/mtkruto/3_types.ts>UpdateNewStory

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

A story was posted.

client.on("story", (ctx) => {
  console.log("title" in ctx.chat ? ctx.chat.title : ctx.chat.firstName, "posted a story");
  console.log(ctx.story);
});