InlineKeyboardMarkup
This object represents an inline keyboard that appears right next to the message it belongs to.
fields
| field | type | required | description |
|---|---|---|---|
inline_keyboard | InlineKeyboardButton[][] | required | Array of button rows, each represented by an Array of InlineKeyboardButton objects |
force_reply | boolean | optional | Optional. Pass True if the reply interface must be shown to the user, as if they had manually selected the bot's message and tapped 'Reply'. The value of the field can't be changed when the inline keyboard is edited. |
import
import type { InlineKeyboardMarkup } from "@yaebal/types";used by
methods
- copyMessage
- editEphemeralMessageCaption
- editEphemeralMessageMedia
- editEphemeralMessageReplyMarkup
- editEphemeralMessageText
- editMessageCaption
- editMessageChecklist
- editMessageLiveLocation
- editMessageMedia
- editMessageReplyMarkup
- editMessageText
- sendAnimation
- sendAudio
- sendChecklist
- sendContact
- sendDice
- sendDocument
- sendGame
- sendInvoice
- sendLivePhoto
- sendLocation
- sendMessage
- sendPaidMedia
- sendPhoto
- sendPoll
- sendRichMessage
- sendSticker
- sendVenue
- sendVideo
- sendVideoNote
- sendVoice
- stopMessageLiveLocation
- stopPoll
types
- InlineQueryResultArticle
- InlineQueryResultAudio
- InlineQueryResultCachedAudio
- InlineQueryResultCachedDocument
- InlineQueryResultCachedGif
- InlineQueryResultCachedMpeg4Gif
- InlineQueryResultCachedPhoto
- InlineQueryResultCachedSticker
- InlineQueryResultCachedVideo
- InlineQueryResultCachedVoice
- InlineQueryResultContact
- InlineQueryResultDocument
- InlineQueryResultGame
- InlineQueryResultGif
- InlineQueryResultLocation
- InlineQueryResultMpeg4Gif
- InlineQueryResultPhoto
- InlineQueryResultVenue
- InlineQueryResultVideo
- InlineQueryResultVoice
- Message
official Bot API docs: https://core.telegram.org/bots/api/#inlinekeyboardmarkup