Skip to main content
Module

x/mtkruto/mod.ts>Client#getStory

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.getStory
import { Client } from "https://deno.land/x/mtkruto@0.2.24/mod.ts";

Retrieve a single story. User-only.

Parameters

chatId: ID

The identifier of the chat to retrieve the story from.

storyId: number

The identifier of the story to retrieve.

Returns

Promise<Story | null>

The retrieved story.