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
Inline mode

InlineQueryResult

This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:

one of

  • InlineQueryResultCachedAudio
  • InlineQueryResultCachedDocument
  • InlineQueryResultCachedGif
  • InlineQueryResultCachedMpeg4Gif
  • InlineQueryResultCachedPhoto
  • InlineQueryResultCachedSticker
  • InlineQueryResultCachedVideo
  • InlineQueryResultCachedVoice
  • InlineQueryResultArticle
  • InlineQueryResultAudio
  • InlineQueryResultContact
  • InlineQueryResultGame
  • InlineQueryResultDocument
  • InlineQueryResultGif
  • InlineQueryResultLocation
  • InlineQueryResultMpeg4Gif
  • InlineQueryResultPhoto
  • InlineQueryResultVenue
  • InlineQueryResultVideo
  • InlineQueryResultVoice

import

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

used by

methods

  • answerGuestQuery
  • answerInlineQuery
  • answerWebAppQuery
  • savePreparedInlineMessage
official Bot API docs: https://core.telegram.org/bots/api/#inlinequeryresult
edit this page