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);
});
Properties
story: Story