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

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

Represents a forwarded story or a story mention.

Constructors

new
MessageMediaStory_(params: { via_mention?: true; peer: enums.Peer; id: number; story?: enums.StoryItem; })

Properties

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

Story ID

peer: enums.Peer

Peer that posted the story.

optional
story: enums.StoryItem

The story itself, if absent fetch it using stories.getStoriesByID and the peer/id parameters specified above.

optional
via_mention: true

If set, indicates that this someone has mentioned us in this story (i.e. by tagging us in the description) or vice versa, we have mentioned the other peer (if the message is outgoing).

Static Properties

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