Skip to content

GramIO API Reference / gramio/dist / TelegramPaidMediaPreview

Interface: TelegramPaidMediaPreview

Defined in: @gramio/types/out/objects.d.ts:1669

The paid media isn't available before the payment.

Documentation

Properties

PropertyTypeDescriptionDefined in
duration?numberOptional. Duration of the media in seconds as defined by the sender@gramio/types/out/objects.d.ts:1685
height?numberOptional. Media height as defined by the sender@gramio/types/out/objects.d.ts:1681
type"preview"Type of the paid media, always “preview”@gramio/types/out/objects.d.ts:1673
width?numberOptional. Media width as defined by the sender@gramio/types/out/objects.d.ts:1677