GramIO API Reference / gramio/dist / TelegramPollMedia
Interface: TelegramPollMedia
Defined in: @gramio/types/out/objects.d.ts:1963
At most one of the optional fields can be present in any given object.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
animation? | TelegramAnimation | Optional. Media is an animation, information about the animation | @gramio/types/out/objects.d.ts:1967 |
audio? | TelegramAudio | Optional. Media is an audio file, information about the file; currently, can't be received in a poll option | @gramio/types/out/objects.d.ts:1971 |
document? | TelegramDocument | Optional. Media is a general file, information about the file; currently, can't be received in a poll option | @gramio/types/out/objects.d.ts:1975 |
link? | TelegramLink | Optional. The HTTP link attached to the poll option | @gramio/types/out/objects.d.ts:1979 |
live_photo? | TelegramLivePhoto | Optional. Media is a live photo, information about the live photo | @gramio/types/out/objects.d.ts:1983 |
location? | TelegramLocation | Optional. Media is a shared location, information about the location | @gramio/types/out/objects.d.ts:1987 |
photo? | TelegramPhotoSize[] | Optional. Media is a photo, available sizes of the photo | @gramio/types/out/objects.d.ts:1991 |
sticker? | TelegramSticker | Optional. Media is a sticker, information about the sticker; currently, for poll options only | @gramio/types/out/objects.d.ts:1995 |
venue? | TelegramVenue | Optional. Media is a venue, information about the venue | @gramio/types/out/objects.d.ts:1999 |
video? | TelegramVideo | Optional. Media is a video, information about the video | @gramio/types/out/objects.d.ts:2003 |