Skip to content

GramIO API Reference / gramio/dist / TelegramPaidMediaPreview

Interface: TelegramPaidMediaPreview

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

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:1883
height?numberOptional. Media height as defined by the sender@gramio/types/out/objects.d.ts:1879
type"preview"Type of the paid media, always “preview”@gramio/types/out/objects.d.ts:1871
width?numberOptional. Media width as defined by the sender@gramio/types/out/objects.d.ts:1875