GramIO API Reference / @gramio/contexts/dist / AttachmentsMapping
Interface: AttachmentsMapping
Defined in: contexts/index.d.ts:241
Mapping attachments type to their structures
Properties
| Property | Type | Defined in |
|---|---|---|
animation | AnimationAttachment | contexts/index.d.ts:242 |
audio | AudioAttachment | contexts/index.d.ts:243 |
contact | ContactAttachment | contexts/index.d.ts:244 |
document | DocumentAttachment | contexts/index.d.ts:245 |
location | LocationAttachment | contexts/index.d.ts:246 |
photo | PhotoAttachment | contexts/index.d.ts:247 |
poll | PollAttachment | contexts/index.d.ts:248 |
sticker | StickerAttachment | contexts/index.d.ts:249 |
story | StoryAttachment | contexts/index.d.ts:250 |
venue | VenueAttachment | contexts/index.d.ts:251 |
video | VideoAttachment | contexts/index.d.ts:253 |
video_note | VideoNoteAttachment | contexts/index.d.ts:252 |
voice | VoiceAttachment | contexts/index.d.ts:254 |