skip to content
yaebal
yaebal
guide introduction yaebal meta ai tooling newgetting started create a bot core concepts examples recipes comparison cheat sheet typed examples faq troubleshooting
core context & filters contexts (autogen) media & files hooks & errors webhooks & deploy
telegram guides payments & stars inline mode chat admin service events message extras deep links mini apps
migration from gramio from puregram from grammy from telegraf
plugins / state overview authoring session sklad (storage) cache feature-flags i18n scenes state-machine onboarding conversation prompt ai (llm chat) newmorda
plugins / ui keyboard callback-data link-preview inline-results auto-answer hydrate newtyping ephemeral newpagination fmt (markdown/html) rich messages filters guards commands payments mini-app
plugins / media files file-id media-cache media-group split preview
plugins / ops again throttle ratelimiter broadcast cron panel analytics audit-log
scaling web (edge) production local bot api rate limits deploy targets observability queues & broadcasts runner workers runtimes router toml test
reference public api reference bot api reference @yaebal/types packages map
github opens in a new tab
Available types

InputMedia

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

one of

  • InputMediaAnimation
  • InputMediaAudio
  • InputMediaDocument
  • InputMediaLivePhoto
  • InputMediaPhoto
  • InputMediaVideo

import

types.ts
import type { InputMedia } from "@yaebal/types";

used by

methods

  • editEphemeralMessageMedia
  • editMessageMedia
official Bot API docs: https://core.telegram.org/bots/api/#inputmedia
edit this page