Skip to content

GramIO API Reference / @gramio/contexts/dist / Story

Class: Story ​

Defined in: contexts/index.d.ts:1098

This object represents a story.

Documentation

Extended by ​

Constructors ​

Constructor ​

new Story(payload): Story

Defined in: contexts/index.d.ts:1100

Parameters ​

ParameterType
payloadTelegramStory

Returns ​

Story

Properties ​

PropertyTypeDefined in
payloadTelegramStorycontexts/index.d.ts:1099

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:1102

MDN

Returns ​

string


chat ​

Get Signature ​

get chat(): Chat

Defined in: contexts/index.d.ts:1106

Chat that posted the story

Returns ​

Chat


id ​

Get Signature ​

get id(): number

Defined in: contexts/index.d.ts:1104

Unique identifier for the story in the chat

Returns ​

number