StaticGramBot API
Раздел

Inline-режим

Inline mode

The following methods and objects allow your bot to work in inline mode.
Please see our Introduction to Inline bots for more details.

To enable this option, send the /setinline command to @BotFather and provide the placeholder text that the user will see in the input field after typing your bot's name.

Методы 1

МетодСтатусОписание
answerInlineQueryПоддерживаетсяUse this method to send answers to an inline query.

Типы 31

ТипОписание
InlineQueryThis object represents an incoming inline query.
InlineQueryResultsButtonThis object represents a button to be shown above inline query results.
InlineQueryResultThis object represents one result of an inline query.
InlineQueryResultArticleRepresents a link to an article or web page.
InlineQueryResultPhotoRepresents a link to a photo.
InlineQueryResultGifRepresents a link to an animated GIF file.
InlineQueryResultMpeg4GifRepresents a link to a video animation (H.264/MPEG-4 AVC video without sound).
InlineQueryResultVideoRepresents a link to a page containing an embedded video player or a video file.
InlineQueryResultAudioRepresents a link to an MP3 audio file.
InlineQueryResultVoiceRepresents a link to a voice recording in an .OGG container encoded with OPUS.
InlineQueryResultDocumentRepresents a link to a file.
InlineQueryResultLocationRepresents a location on a map.
InlineQueryResultVenueRepresents a venue.
InlineQueryResultContactRepresents a contact with a phone number.
InlineQueryResultGameRepresents a Game .
InlineQueryResultCachedPhotoRepresents a link to a photo stored on the Telegram servers.
InlineQueryResultCachedGifRepresents a link to an animated GIF file stored on the Telegram servers.
InlineQueryResultCachedMpeg4GifRepresents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers.
InlineQueryResultCachedStickerRepresents a link to a sticker stored on the Telegram servers.
InlineQueryResultCachedDocumentRepresents a link to a file stored on the Telegram servers.
InlineQueryResultCachedVideoRepresents a link to a video file stored on the Telegram servers.
InlineQueryResultCachedVoiceRepresents a link to a voice message stored on the Telegram servers.
InlineQueryResultCachedAudioRepresents a link to an MP3 audio file stored on the Telegram servers.
InputMessageContentThis object represents the content of a message to be sent as a result of an inline query.
InputTextMessageContentRepresents the content of a text message to be sent as the result of an inline query.
InputRichMessageContentRepresents the content of a rich message to be sent as the result of an inline query.
InputLocationMessageContentRepresents the content of a location message to be sent as the result of an inline query.
InputVenueMessageContentRepresents the content of a venue message to be sent as the result of an inline query.
InputContactMessageContentRepresents the content of a contact message to be sent as the result of an inline query.
InputInvoiceMessageContentRepresents the content of an invoice message to be sent as the result of an inline query.
ChosenInlineResultRepresents a result of an inline query that was chosen by the user and sent to their chat partner.

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top