Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/2_tl.ts>types.StoryItem

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.StoryItem
import { types } from "https://deno.land/x/mtkruto@0.1.100/2_tl.ts";
const { StoryItem } = types;

Constructors

new
StoryItem(params: { pinned?: true; public?: true; closeFriends?: true; min?: true; noforwards?: true; edited?: true; contacts?: true; selectedContacts?: true; id: number; date: number; expireDate: number; caption?: string; entities?: Array<TypeMessageEntity>; media: TypeMessageMedia; mediaAreas?: Array<TypeMediaArea>; privacy?: Array<TypePrivacyRule>; views?: TypeStoryViews; sentReaction?: TypeReaction; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
caption: string
optional
closeFriends: true
optional
contacts: true
date: number
optional
edited: true
optional
entities: Array<TypeMessageEntity>
expireDate: number
id: number
optional
mediaAreas: Array<TypeMediaArea>
optional
min: true
optional
noforwards: true
optional
pinned: true
optional
privacy: Array<TypePrivacyRule>
optional
public: true
optional
selectedContacts: true
optional
sentReaction: TypeReaction
optional
views: TypeStoryViews

Static Properties

readonly
[paramDesc]: ParamDesc