PaidMediaPreview
The paid media isn't available before the payment.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the paid media, always “preview” |
width | number | optional | Optional. Media width as defined by the sender |
height | number | optional | Optional. Media height as defined by the sender |
duration | number | optional | Optional. Duration of the media in seconds as defined by the sender |
import
import type { PaidMediaPreview } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#paidmediapreview