GramIO API Reference / @gramio/contexts/dist / AttachmentsMapping
Interface: AttachmentsMapping
Defined in: contexts/index.d.ts:300
Mapping attachments type to their structures
Properties
| Property | Type | Defined in |
|---|---|---|
animation | AnimationAttachment | contexts/index.d.ts:301 |
audio | AudioAttachment | contexts/index.d.ts:302 |
contact | ContactAttachment | contexts/index.d.ts:303 |
document | DocumentAttachment | contexts/index.d.ts:304 |
live_photo | LivePhotoAttachment | contexts/index.d.ts:305 |
location | LocationAttachment | contexts/index.d.ts:306 |
photo | PhotoAttachment | contexts/index.d.ts:307 |
poll | PollAttachment | contexts/index.d.ts:308 |
sticker | StickerAttachment | contexts/index.d.ts:309 |
story | StoryAttachment | contexts/index.d.ts:310 |
venue | VenueAttachment | contexts/index.d.ts:311 |
video | VideoAttachment | contexts/index.d.ts:313 |
video_note | VideoNoteAttachment | contexts/index.d.ts:312 |
voice | VoiceAttachment | contexts/index.d.ts:314 |