Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>stories_getAllStories_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class stories_getAllStories_
extends Function_<enums.stories.AllStories>
import { stories_getAllStories_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Fetch the List of active (or active and hidden) stories, see here » for more info on watching stories.

Constructors

new
stories_getAllStories_(params?: { next?: true; hidden?: true; state?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
hidden: true

If set, fetches the hidden active story list, otherwise fetches the active story list, see here » for more info on the full flow.

optional
next: true

If next and state are both set, uses the passed state to paginate to the next results; if neither state nor next are set, fetches the initial page; if state is set and next is not set, check for changes in the active/hidden peerset, see here » for more info on the full flow.

optional
state: string

If next and state are both set, uses the passed state to paginate to the next results; if neither state nor next are set, fetches the initial page; if state is set and next is not set, check for changes in the active/hidden peerset, see here » for more info on the full flow.

Static Properties

__F: (params?: { next?: true; hidden?: true; state?: string; }) => enums.stories.AllStories
readonly
[name]: string
readonly
[paramDesc]: ParamDesc