Available types

PollMedia

At most one of the optional fields can be present in any given object.

fields

fieldtyperequireddescription
animationAnimationoptionalOptional. Media is an animation, information about the animation
audioAudiooptionalOptional. Media is an audio file, information about the file; currently, can't be received in a poll option
documentDocumentoptionalOptional. Media is a general file, information about the file; currently, can't be received in a poll option
linkLinkoptionalOptional. The HTTP link attached to the poll option
live_photoLivePhotooptionalOptional. Media is a live photo, information about the live photo
locationLocationoptionalOptional. Media is a shared location, information about the location
photoPhotoSize[]optionalOptional. Media is a photo, available sizes of the photo
stickerStickeroptionalOptional. Media is a sticker, information about the sticker; currently, for poll options only
venueVenueoptionalOptional. Media is a venue, information about the venue
videoVideooptionalOptional. Media is a video, information about the video

import

types.ts
import type { PollMedia } from "@yaebal/types";

used by

types