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

x/grammy_types/methods.ts>InputMedia

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
type alias InputMedia
import { type InputMedia } from "https://deno.land/x/grammy_types@v3.7.0/methods.ts";

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

  • InputMediaAnimation
  • InputMediaDocument
  • InputMediaAudio
  • InputMediaPhoto
  • InputMediaVideo
definition:
| InputMediaAnimation<F>
| InputMediaDocument<F>
| InputMediaAudio<F>
| InputMediaPhoto<F>
| InputMediaVideo<F>