telegramx.js

InputPaidMediaLivePhoto

interface

The paid media to send is a live photo.

Declaration

interface InputPaidMediaLivePhoto 

Properties

mediaproperty#
media: string;

Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass "attach://file_attach_name" to upload a new one using multipart/form-data under file_attach_name name. More information on Sending Files: https://core.telegram.org/bots/api#sending-files. Sending live photos by a URL is currently unsupported.

photoproperty#
photo: string;

The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass "attach://file_attach_name" to upload a new one using multipart/form-data under file_attach_name name. More information on Sending Files: https://core.telegram.org/bots/api#sending-files. Sending live photos by a URL is currently unsupported.

typeproperty#
type: 'live_photo';

Type of the media, must be live_photo