Skip to content

InputPaidMediaLivePhoto

The paid media to send is a live photo.

Fields

typeString = live_photoRequired
Type of the media, must be live\_photo
mediaInputFileStringRequired📎 Files
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://attach\name>" to upload a new one using multipart/form-data under attach\_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported.
photoInputFileStringRequired📎 Files
The static photo to send. Pass a file\id to send a file that exists on the Telegram servers (recommended) or pass "attach://attach\name>" to upload a new one using multipart/form-data under attach\_name> name. More information on Sending Files ». Sending live photos by a URL is currently unsupported.

GramIO Usage

See Also