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

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

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