telegramx.js

PollMedia

interface

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

Declaration

interface PollMedia 

Properties

animationproperty#
animation?: Animation;

Optional. Media is an animation, information about the animation

audioproperty#
audio?: Audio;

Optional. Media is an audio file, information about the file; currently, can't be received in a poll option

documentproperty#
document?: Document;

Optional. Media is a general file, information about the file; currently, can't be received in a poll option

live_photoproperty#
live_photo?: LivePhoto;

Optional. Media is a live photo, information about the live photo

locationproperty#
location?: Location;

Optional. Media is a shared location, information about the location

photoproperty#
photo?: PhotoSize[];

Optional. Media is a photo, available sizes of the photo

stickerproperty#
sticker?: Sticker;

Optional. Media is a sticker, information about the sticker; currently, for poll options only

venueproperty#
venue?: Venue;

Optional. Media is a venue, information about the venue

videoproperty#
video?: Video;

Optional. Media is a video, information about the video