GramIO API Reference / gramio/dist / TelegramInputPaidMediaLivePhoto
Interface: TelegramInputPaidMediaLivePhoto
Defined in: @gramio/types/out/objects.d.ts:6749
The paid media to send is a live photo.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
media | string | Blob | 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 ». Sending live photos by a URL is currently unsupported. | @gramio/types/out/objects.d.ts:6757 |
photo | string | Blob | 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 ». Sending live photos by a URL is currently unsupported. | @gramio/types/out/objects.d.ts:6761 |
type | "live_photo" | Type of the media, must be live_photo | @gramio/types/out/objects.d.ts:6753 |