skip to content
yaebal
yaebal
guide introduction yaebal meta getting started create a bot core concepts examples cheat sheet newtyped examples newfaq newtroubleshooting new
core context & filters contexts (autogen) media & files hooks & errors webhooks & deploy
telegram guides payments & stars newinline mode newchat admin newservice events newmessage extras newdeep links newmini apps new
migration from gramio newfrom puregram newfrom grammy newfrom telegraf new
plugins / state overview authoring session i18n scenes onboarding conversation prompt morda
plugins / ui keyboard callback-data pagination fmt (markdown/html) rich (sendRichMessage) newfilters commands
plugins / media files media-cache media-group split preview
plugins / ops again throttle ratelimiter broadcast panel
scaling web (edge) production newrunner workers runtimes router toml newtest
reference bot api reference new@yaebal/types llms newpackages 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