Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/types.ts>InputMedia

The Telegram Bot Framework.
Very Popular
Go to Latest
type alias InputMedia
import { type InputMedia } from "https://deno.land/x/grammy@v1.10.1/types.ts";

This object represents the content of a media message to be sent. It should be one of

  • InputMediaAnimation
  • InputMediaDocument
  • InputMediaAudio
  • InputMediaPhoto
  • InputMediaVideo
definition: GrammyTypes["InputMedia"]