telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface PollMedia

    Describes media added to a poll or a poll option.

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

    interface PollMedia {
        animation?: Animation;
        audio?: Audio;
        document?: Document;
        link?: Link;
        live_photo?: LivePhoto;
        location?: Location;
        photo?: PhotoSize[];
        sticker?: Sticker;
        venue?: Venue;
        video?: Video;
    }
    Index
    animation?: Animation

    Media is an animation, information about the animation.

    audio?: Audio

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

    document?: Document

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

    link?: Link

    The HTTP link attached to the poll option.

    live_photo?: LivePhoto

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

    location?: Location

    Media is a shared location, information about the location.

    photo?: PhotoSize[]

    Media is a photo, available sizes of the photo.

    sticker?: Sticker

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

    venue?: Venue

    Media is a venue, information about the venue.

    video?: Video

    Media is a video, information about the video.