Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy/types.web.ts>PaidMediaPreview

The Telegram Bot Framework.
Very Popular
Latest
interface PaidMediaPreview
import { type PaidMediaPreview } from "https://deno.land/x/grammy@v1.26.0/types.web.ts";

The paid media isn't available before the payment.

Properties

type: "preview"

Type of the paid media, always “preview”

optional
width: number

Media width as defined by the sender

optional
height: number

Media height as defined by the sender

optional
duration: number

Duration of the media in seconds as defined by the sender