GramIO API Reference / @gramio/contexts/dist / StoryAttachment
Class: StoryAttachment
Defined in: contexts/index.d.ts:855
This object represents a story.
Extends
Constructors
Constructor
new StoryAttachment(
payload):StoryAttachment
Defined in: contexts/index.d.ts:841
Parameters
| Parameter | Type |
|---|---|
payload | TelegramStory |
Returns
StoryAttachment
Inherited from
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
attachmentType | AttachmentType | Attachment.attachmentType | contexts/index.d.ts:856 |
payload | TelegramStory | Story.payload | contexts/index.d.ts:840 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:843
Returns
string
Inherited from
chat
Get Signature
get chat():
Chat
Defined in: contexts/index.d.ts:847
Chat that posted the story
Returns
Inherited from
id
Get Signature
get id():
number
Defined in: contexts/index.d.ts:845
Unique identifier for the story in the chat
Returns
number