GramIO API Reference / @gramio/contexts/dist / AttachmentsMapping
Interface: AttachmentsMapping
Defined in: contexts/index.d.ts:256
Mapping attachments type to their structures
Properties
| Property | Type | Defined in |
|---|---|---|
animation | AnimationAttachment | contexts/index.d.ts:257 |
audio | AudioAttachment | contexts/index.d.ts:258 |
contact | ContactAttachment | contexts/index.d.ts:259 |
document | DocumentAttachment | contexts/index.d.ts:260 |
location | LocationAttachment | contexts/index.d.ts:261 |
photo | PhotoAttachment | contexts/index.d.ts:262 |
poll | PollAttachment | contexts/index.d.ts:263 |
sticker | StickerAttachment | contexts/index.d.ts:264 |
story | StoryAttachment | contexts/index.d.ts:265 |
venue | VenueAttachment | contexts/index.d.ts:266 |
video | VideoAttachment | contexts/index.d.ts:268 |
video_note | VideoNoteAttachment | contexts/index.d.ts:267 |
voice | VoiceAttachment | contexts/index.d.ts:269 |