GramIO API Reference / @gramio/contexts/dist / Story
Class: Story
Defined in: contexts/index.d.ts:800
This object represents a story.
Extended by
Constructors
Constructor
new Story(
payload):Story
Defined in: contexts/index.d.ts:802
Parameters
| Parameter | Type |
|---|---|
payload | TelegramStory |
Returns
Story
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramStory | contexts/index.d.ts:801 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:804
Returns
string
chat
Get Signature
get chat():
Chat
Defined in: contexts/index.d.ts:808
Chat that posted the story
Returns
id
Get Signature
get id():
number
Defined in: contexts/index.d.ts:806
Unique identifier for the story in the chat
Returns
number