<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">data </span><spanclass="token keyword">class </span><ahref="-callback-data-inline-keyboard-button/index.html">CallbackDataInlineKeyboardButton</a><spanclass="token punctuation">(</span>text<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">, </span>callbackData<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span> : <ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">Simple button with <ahref="-callback-data-inline-keyboard-button/callback-data.html">callbackData</a> which you are able to catch this type of updates and data using <ahref="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-data-callback-query.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onDataCallbackQuery</a> in case you are using Behaviour Builder OR <ahref="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/callback-queries-flow.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.callbackQueriesFlow</a> with <spandata-unresolved-link="kotlinx.coroutines.flow//filterIsInstance/kotlinx.coroutines.flow.Flow[*]#/PointingToDeclaration/">kotlinx.coroutines.flow.filterIsInstance</span> and filtering by type <ahref="../dev.inmo.tgbotapi.types.CallbackQuery/-data-callback-query/index.html">dev.inmo.tgbotapi.types.CallbackQuery.DataCallbackQuery</a></p></div></div></div>
<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">interface </span><ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">Some button of <ahref="../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.html">dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup</a>. See inheritors and visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info</p></div></div></div>
<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">data </span><spanclass="token keyword">class </span><ahref="-login-u-r-l-inline-keyboard-button/index.html">LoginURLInlineKeyboardButton</a><spanclass="token punctuation">(</span>text<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">, </span>loginUrl<spanclass="token operator">: </span><ahref="../dev.inmo.tgbotapi.types/-login-u-r-l/index.html">LoginURL</a><spanclass="token punctuation">)</span> : <ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">You may use this button to automatically authorize your user on <ahref="-login-u-r-l-inline-keyboard-button/login-url.html">loginUrl</a></p></div></div></div>
<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">data </span><spanclass="token keyword">class </span><ahref="-pay-inline-keyboard-button/index.html">PayInlineKeyboardButton</a><spanclass="token punctuation">(</span>text<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span> : <ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">This type of button must always be the first button in the first row. Visit https://core.telegram.org/bots/api#payments for mor info</p></div></div></div>
<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">data </span><spanclass="token keyword">class </span><ahref="-switch-inline-query-current-chat-inline-keyboard-button/index.html">SwitchInlineQueryCurrentChatInlineKeyboardButton</a><spanclass="token punctuation">(</span>text<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">, </span>switchInlineQueryCurrentChat<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span> : <ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">Complex button with <ahref="-switch-inline-query-current-chat-inline-keyboard-button/switch-inline-query-current-chat.html">switchInlineQueryCurrentChat</a> which will be sent to you in an <ahref="../dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/index.html">dev.inmo.tgbotapi.types.InlineQueries.query.InlineQuery</a> which you may catch in <ahref="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-base-inline-query.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onBaseInlineQuery</a> and get from <ahref="../dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/query.html">dev.inmo.tgbotapi.types.InlineQueries.query.BaseInlineQuery.query</a> (or changed by user query in case he will be the fastest hand in the wild west). Can be forwarded in any chat with message in case if it is the only one button in message, but will be converted to a <ahref="-switch-inline-query-inline-keyboard-button/index.html">SwitchInlineQueryInlineKeyboardButton</a>. Remember that clicking on this button will automatically insert username of this bot in current chat, paste <ahref="-switch-inline-query-current-chat-inline-keyboard-button/switch-inline-query-current-chat.html">switchInlineQueryCurrentChat</a> as a query and create and inline request to your bot Visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info</p></div></div></div>
<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">data </span><spanclass="token keyword">class </span><ahref="-switch-inline-query-inline-keyboard-button/index.html">SwitchInlineQueryInlineKeyboardButton</a><spanclass="token punctuation">(</span>text<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">, </span>switchInlineQuery<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span> : <ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">Complex button with <ahref="-switch-inline-query-inline-keyboard-button/switch-inline-query.html">switchInlineQuery</a> which will be sent to you in an <ahref="../dev.inmo.tgbotapi.types.InlineQueries.query/-inline-query/index.html">dev.inmo.tgbotapi.types.InlineQueries.query.InlineQuery</a> which you may catch in <ahref="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-base-inline-query.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onBaseInlineQuery</a> and get from <ahref="../dev.inmo.tgbotapi.types.InlineQueries.query/-base-inline-query/query.html">dev.inmo.tgbotapi.types.InlineQueries.query.BaseInlineQuery.query</a> (or changed by user query in case he will be the fastest hand in the wild west). Can be forwarded in any chat with message in case if it is the only one button in message. Remember that clicking on this button will automatically insert username of this bot in the chosen by user chat, paste <ahref="-switch-inline-query-inline-keyboard-button/switch-inline-query.html">switchInlineQuery</a> as a query and create and inline request to your bot. Visit https://core.telegram.org/bots/api#inlinekeyboardbutton for more info</p></div></div></div>
<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">data </span><spanclass="token keyword">class </span><ahref="-u-r-l-inline-keyboard-button/index.html">URLInlineKeyboardButton</a><spanclass="token punctuation">(</span>text<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">, </span>url<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span> : <ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">Simple <ahref="-u-r-l-inline-keyboard-button/url.html">url</a> button. Can be forwarded in any chat with message in case if it is the only one button in message</p></div></div></div>
<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">data </span><spanclass="token keyword">class </span><ahref="-web-app-inline-keyboard-button/index.html">WebAppInlineKeyboardButton</a><spanclass="token punctuation">(</span>text<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">, </span>webApp<spanclass="token operator">: </span><ahref="../dev.inmo.tgbotapi.types.webapps/-web-app-info/index.html">WebAppInfo</a><spanclass="token punctuation">)</span> : <ahref="-inline-keyboard-button/index.html">InlineKeyboardButton</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><pclass="paragraph">Button with <ahref="../dev.inmo.tgbotapi.types.webapps/-web-app-info/index.html">WebAppInfo</a>. Web App will be launched when the button is pressed. The Web App will be able to send a <codeclass="lang-kotlin">web_app_data</code> service message. <strong>Available in private chats only</strong>.</p></div></div></div>