Available types

PaidMediaPreview

The paid media isn't available before the payment.

fields

fieldtyperequireddescription
typestringrequiredType of the paid media, always “preview”
widthnumberoptionalOptional. Media width as defined by the sender
heightnumberoptionalOptional. Media height as defined by the sender
durationnumberoptionalOptional. Duration of the media in seconds as defined by the sender

import

types.ts
import type { PaidMediaPreview } from "@yaebal/types";

used by

types