Skip to content

PaidMediaPreview

The paid media isn't available before the payment.

Fields

typeString = previewRequired
Type of the paid media, always "preview"
widthIntegerOptional
Optional. Media width as defined by the sender
heightIntegerOptional
Optional. Media height as defined by the sender
durationIntegerOptional
Optional. Duration of the media in seconds as defined by the sender

GramIO Usage

See Also