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>StoryFwdHeader_

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

Contains info about the original poster of a reposted story.

Constructors

new
StoryFwdHeader_(params?: { modified?: true; from?: enums.Peer; from_name?: string; story_id?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
from: enums.Peer

Peer that originally posted the story; will be empty for stories forwarded from a user with forwards privacy enabled, in which case from_name will be set, instead.

optional
from_name: string

Will be set for stories forwarded from a user with forwards privacy enabled, in which case from will also be empty.

optional
modified: true

Whether the story media was modified before reposting it (for example by overlaying a round video with a reaction).

optional
story_id: number

, contains the story ID

Static Properties

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