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