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

x/mtkruto/tl/2_types.ts>StoryViews_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class StoryViews_
extends _StoryViews_
import { StoryViews_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Aggregated view and reaction information of a story.

Constructors

new
StoryViews_(params: { has_viewers?: true; views_count: number; forwards_count?: number; reactions?: Array<enums.ReactionCount>; reactions_count?: number; recent_viewers?: Array<bigint>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
forwards_count: number

Forward counter of the story

optional
has_viewers: true

If set, indicates that the viewers list is currently viewable, and was not yet deleted because the story has expired while the user didn't have a Premium account.

optional
reactions: Array<enums.ReactionCount>

All reactions sent to this story

optional
reactions_count: number

Number of reactions added to the story

optional
recent_viewers: Array<bigint>

User IDs of some recent viewers of the story

views_count: number

View counter of the story

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc