Skip to main content
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.2.50/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);
});