1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-08 09:23:47 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.types.buttons/index.html
2023-02-21 15:54:42 +00:00

439 lines
61 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>dev.inmo.tgbotapi.types.buttons</title>
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../";</script>
<script>const storage = localStorage.getItem("dokka-dark-mode")
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
</script>
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script>
<link href="../../styles/style.css" rel="Stylesheet">
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet">
<link href="../../styles/main.css" rel="Stylesheet">
<link href="../../styles/prism.css" rel="Stylesheet">
<link href="../../styles/logo-styles.css" rel="Stylesheet">
<script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script>
<script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script>
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script>
<script type="text/javascript" src="../../scripts/main.js" defer="defer"></script>
<script type="text/javascript" src="../../scripts/prism.js" async="async"></script>
<script type="text/javascript" src="../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
</head>
<body>
<div class="navigation-wrapper" id="navigation-wrapper">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="library-name">
<a href="../../index.html">
<span>docs</span>
</a>
</div>
<div>
5.2.1 </div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section">
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button>
</div>
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
<div id="searchBar"></div>
</div>
</div>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.types.buttons////PointingToDeclaration//-1982836883">
<div class="breadcrumbs"><a href="../../index.html">docs</a><span class="delimiter">/</span><span class="current">dev.inmo.tgbotapi.types.buttons</span></div>
<div class="cover ">
<h1 class="cover"><span><span>Package-level</span></span> <span><span>declarations</span></span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button></div>
<div class="tabs-section-body">
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="683337740%2FClasslikes%2F-1982836883" anchor-label="InlineKeyboardMarkup" id="683337740%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-inline-keyboard-markup/index.html"><span>Inline</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Markup</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="683337740%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-inline-keyboard-markup/index.html">InlineKeyboardMarkup</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>keyboard<span class="token operator">: </span><a href="index.html#1456014227%2FClasslikes%2F-1982836883">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons/-inline-keyboard-button/index.html">InlineKeyboardButton</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span> : <a href="-keyboard-markup/index.html">KeyboardMarkup</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="52435291%2FClasslikes%2F-1982836883" anchor-label="KeyboardButton" id="52435291%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-button/index.html"><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="52435291%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span><span class="token punctuation">(</span><span>with<span class="token operator"> = </span><a href="-keyboard-button-serializer/index.html">KeyboardButtonSerializer::class</a></span><wbr></wbr><span class="token punctuation">)</span></div></div><span class="token keyword">interface </span><a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Representation union of https://core.telegram.org/bots/api#keyboardbutton . See inheritors for more info</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="478362050%2FClasslikes%2F-1982836883" anchor-label="KeyboardButtonPollType" id="478362050%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-button-poll-type/index.html"><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span>Poll</span><wbr></wbr><span><span>Type</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="478362050%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span><span class="token punctuation">(</span><span>with<span class="token operator"> = </span><a href="-keyboard-button-poll-type-serializer/index.html">KeyboardButtonPollTypeSerializer::class</a></span><wbr></wbr><span class="token punctuation">)</span></div></div><span class="token keyword">interface </span><a href="-keyboard-button-poll-type/index.html">KeyboardButtonPollType</a></div><div class="brief "><p class="paragraph">Poll type for <a href="-request-poll-keyboard-button/index.html">RequestPollKeyboardButton</a>. Visit https://core.telegram.org/bots/api#keyboardbuttonpolltype for more info and see inheritors.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1805102320%2FClasslikes%2F-1982836883" anchor-label="KeyboardButtonPollTypeSerializer" id="-1805102320%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-button-poll-type-serializer/index.html"><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span>Poll</span><wbr></wbr><span>Type</span><wbr></wbr><span><span>Serializer</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1805102320%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-keyboard-button-poll-type-serializer/index.html">KeyboardButtonPollTypeSerializer</a> : <span data-unresolved-link="kotlinx.serialization/KSerializer///PointingToDeclaration/">KSerializer</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-keyboard-button-poll-type/index.html">KeyboardButtonPollType</a><span class="token operator">&gt; </span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2131639232%2FClasslikes%2F-1982836883" anchor-label="KeyboardButtonRequestChat" id="-2131639232%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-button-request-chat/index.html"><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span>Request</span><wbr></wbr><span><span>Chat</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2131639232%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-keyboard-button-request-chat/index.html">KeyboardButtonRequestChat</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>requestId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.request/-request-id/index.html">RequestId</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>isChannel<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>isForum<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>isPublic<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>isOwnedBy<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>userRightsInChat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat.member/-chat-administrator-rights/index.html">ChatAdministratorRights</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>botRightsInChat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat.member/-chat-administrator-rights/index.html">ChatAdministratorRights</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>botIsMember<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1558396115%2FClasslikes%2F-1982836883" anchor-label="KeyboardButtonRequestUser" id="-1558396115%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-button-request-user/index.html"><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span>Request</span><wbr></wbr><span><span>User</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1558396115%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span><span class="token punctuation">(</span><span>with<span class="token operator"> = </span><a href="-keyboard-button-request-user/-companion/index.html">KeyboardButtonRequestUser.Companion::class</a></span><wbr></wbr><span class="token punctuation">)</span></div></div><span class="token keyword">interface </span><a href="-keyboard-button-request-user/index.html">KeyboardButtonRequestUser</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="476661609%2FClasslikes%2F-1982836883" anchor-label="KeyboardButtonSerializer" id="476661609%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-button-serializer/index.html"><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span><span>Serializer</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="476661609%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-keyboard-button-serializer/index.html">KeyboardButtonSerializer</a> : <span data-unresolved-link="kotlinx.serialization/KSerializer///PointingToDeclaration/">KSerializer</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-keyboard-button/index.html">KeyboardButton</a><span class="token operator">&gt; </span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1833126693%2FClasslikes%2F-1982836883" anchor-label="KeyboardMarkup" id="1833126693%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-markup/index.html"><span>Keyboard</span><wbr></wbr><span><span>Markup</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1833126693%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span><span class="token punctuation">(</span><span>with<span class="token operator"> = </span><a href="-keyboard-markup-serializer/index.html">KeyboardMarkupSerializer::class</a></span><wbr></wbr><span class="token punctuation">)</span></div></div><span class="token keyword">interface </span><a href="-keyboard-markup/index.html">KeyboardMarkup</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1183300429%2FClasslikes%2F-1982836883" anchor-label="KeyboardMarkupSerializer" id="-1183300429%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-keyboard-markup-serializer/index.html"><span>Keyboard</span><wbr></wbr><span>Markup</span><wbr></wbr><span><span>Serializer</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1183300429%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-keyboard-markup-serializer/index.html">KeyboardMarkupSerializer</a> : <span data-unresolved-link="kotlinx.serialization/KSerializer///PointingToDeclaration/">KSerializer</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-keyboard-markup/index.html">KeyboardMarkup</a><span class="token operator">&gt; </span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1456014227%2FClasslikes%2F-1982836883" anchor-label="Matrix" id="1456014227%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="index.html#1456014227%2FClasslikes%2F-1982836883"><span><span>Matrix</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1456014227%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="index.html#1456014227%2FClasslikes%2F-1982836883">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#1456014227%2FClasslikes%2F-1982836883">T</a><span class="token operator">&gt;</span><span class="token operator"> = </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#1456014227%2FClasslikes%2F-1982836883">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1626270419%2FClasslikes%2F-1982836883" anchor-label="QuizKeyboardButtonPollType" id="-1626270419%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-quiz-keyboard-button-poll-type/index.html"><span>Quiz</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span>Poll</span><wbr></wbr><span><span>Type</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1626270419%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">object </span><a href="-quiz-keyboard-button-poll-type/index.html">QuizKeyboardButtonPollType</a> : <a href="-keyboard-button-poll-type/index.html">KeyboardButtonPollType</a></div><div class="brief "><p class="paragraph">Quiz poll type</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1384215840%2FClasslikes%2F-1982836883" anchor-label="RegularKeyboardButtonPollType" id="1384215840%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-regular-keyboard-button-poll-type/index.html"><span>Regular</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span>Poll</span><wbr></wbr><span><span>Type</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1384215840%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">object </span><a href="-regular-keyboard-button-poll-type/index.html">RegularKeyboardButtonPollType</a> : <a href="-keyboard-button-poll-type/index.html">KeyboardButtonPollType</a></div><div class="brief "><p class="paragraph">Just a regular poll type</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1240302515%2FClasslikes%2F-1982836883" anchor-label="ReplyForce" id="1240302515%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-reply-force/index.html"><span>Reply</span><wbr></wbr><span><span>Force</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1240302515%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-reply-force/index.html">ReplyForce</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>selective<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>inputFieldPlaceholder<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span> : <a href="-keyboard-markup/index.html">KeyboardMarkup</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1668867915%2FClasslikes%2F-1982836883" anchor-label="ReplyKeyboardMarkup" id="-1668867915%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-reply-keyboard-markup/index.html"><span>Reply</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Markup</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1668867915%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-reply-keyboard-markup/index.html">ReplyKeyboardMarkup</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>keyboard<span class="token operator">: </span><a href="index.html#1456014227%2FClasslikes%2F-1982836883">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-keyboard-button/index.html">KeyboardButton</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>resizeKeyboard<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>oneTimeKeyboard<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>inputFieldPlaceholder<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>selective<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>persistent<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span> : <a href="-keyboard-markup/index.html">KeyboardMarkup</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="561305049%2FClasslikes%2F-1982836883" anchor-label="ReplyKeyboardRemove" id="561305049%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-reply-keyboard-remove/index.html"><span>Reply</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Remove</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="561305049%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-reply-keyboard-remove/index.html">ReplyKeyboardRemove</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>selective<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span> : <a href="-keyboard-markup/index.html">KeyboardMarkup</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1408720622%2FClasslikes%2F-1982836883" anchor-label="RequestChatKeyboardButton" id="1408720622%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-request-chat-keyboard-button/index.html"><span>Request</span><wbr></wbr><span>Chat</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1408720622%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-request-chat-keyboard-button/index.html">RequestChatKeyboardButton</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>requestChat<span class="token operator">: </span><a href="-keyboard-button-request-chat/index.html">KeyboardButtonRequestChat</a></span></span><span class="token punctuation">)</span> : <a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Private chats only. When user will tap on this button, he will be asked for the chat with <a href="-request-chat-keyboard-button/request-chat.html">requestChat</a> options. You will be able to catch this <a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a> in updates and data using <a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-chat-shared.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onChatShared</a> in case you are using Behaviour Builder OR with <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/messages-flow.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow</a> and <span data-unresolved-link="kotlinx.coroutines.flow//filterIsInstance/kotlinx.coroutines.flow.Flow[*]#/PointingToDeclaration/">kotlinx.coroutines.flow.filterIsInstance</span>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-356334518%2FClasslikes%2F-1982836883" anchor-label="RequestContactKeyboardButton" id="-356334518%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-request-contact-keyboard-button/index.html"><span>Request</span><wbr></wbr><span>Contact</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-356334518%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-request-contact-keyboard-button/index.html">RequestContactKeyboardButton</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span> : <a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Private chats only. When user will tap on this button, his contact (with his number and name) will be sent to the bot. You will be able to catch this contact in updates and data using <a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-contact.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onContact</a> in case you are using Behaviour Builder OR with <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/messages-flow.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow</a> and <span data-unresolved-link="kotlinx.coroutines.flow//filterIsInstance/kotlinx.coroutines.flow.Flow[*]#/PointingToDeclaration/">kotlinx.coroutines.flow.filterIsInstance</span> and filtering by type <a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">dev.inmo.tgbotapi.types.message.abstracts.CommonMessage</a> and <a href="../dev.inmo.tgbotapi.extensions.utils/only-contact-content-messages.html">dev.inmo.tgbotapi.extensions.utils.onlyContactContentMessages</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-478077711%2FClasslikes%2F-1982836883" anchor-label="RequestLocationKeyboardButton" id="-478077711%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-request-location-keyboard-button/index.html"><span>Request</span><wbr></wbr><span>Location</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-478077711%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-request-location-keyboard-button/index.html">RequestLocationKeyboardButton</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span> : <a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Private chats only. When user will tap on this button, his location will be sent to the bot. You will be able to catch this location in updates and data using <a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-location.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onLocation</a> in case you are using Behaviour Builder OR with <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/messages-flow.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow</a> and <span data-unresolved-link="kotlinx.coroutines.flow//filterIsInstance/kotlinx.coroutines.flow.Flow[*]#/PointingToDeclaration/">kotlinx.coroutines.flow.filterIsInstance</span> and filtering by type <a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">dev.inmo.tgbotapi.types.message.abstracts.CommonMessage</a> and <a href="../dev.inmo.tgbotapi.extensions.utils/only-location-content-messages.html">dev.inmo.tgbotapi.extensions.utils.onlyLocationContentMessages</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2113979559%2FClasslikes%2F-1982836883" anchor-label="RequestPollKeyboardButton" id="2113979559%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-request-poll-keyboard-button/index.html"><span>Request</span><wbr></wbr><span>Poll</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2113979559%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-request-poll-keyboard-button/index.html">RequestPollKeyboardButton</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>requestPoll<span class="token operator">: </span><a href="-keyboard-button-poll-type/index.html">KeyboardButtonPollType</a></span></span><span class="token punctuation">)</span> : <a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Private chats only. When user will tap on this button, he will be asked for the poll with <a href="-request-poll-keyboard-button/request-poll.html">requestPoll</a> options. You will be able to catch this poll in updates and data using <a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-poll.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onPoll</a> in case you are using Behaviour Builder OR with <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/messages-flow.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow</a> and <span data-unresolved-link="kotlinx.coroutines.flow//filterIsInstance/kotlinx.coroutines.flow.Flow[*]#/PointingToDeclaration/">kotlinx.coroutines.flow.filterIsInstance</span> and filtering by type <a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">dev.inmo.tgbotapi.types.message.abstracts.CommonMessage</a> and <a href="../dev.inmo.tgbotapi.extensions.utils/only-poll-content-messages.html">dev.inmo.tgbotapi.extensions.utils.onlyPollContentMessages</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1211054875%2FClasslikes%2F-1982836883" anchor-label="RequestUserKeyboardButton" id="1211054875%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-request-user-keyboard-button/index.html"><span>Request</span><wbr></wbr><span>User</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1211054875%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-request-user-keyboard-button/index.html">RequestUserKeyboardButton</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>requestUser<span class="token operator">: </span><a href="-keyboard-button-request-user/index.html">KeyboardButtonRequestUser</a></span></span><span class="token punctuation">)</span> : <a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Private chats only. When user will tap on this button, he will be asked for the chat with requestChat options. You will be able to catch this <a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a> in updates and data using <a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-user-shared.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onUserShared</a> in case you are using Behaviour Builder OR with <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/messages-flow.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow</a> and <span data-unresolved-link="kotlinx.coroutines.flow//filterIsInstance/kotlinx.coroutines.flow.Flow[*]#/PointingToDeclaration/">kotlinx.coroutines.flow.filterIsInstance</span>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-100217591%2FClasslikes%2F-1982836883" anchor-label="SimpleKeyboardButton" id="-100217591%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-simple-keyboard-button/index.html"><span>Simple</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-100217591%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-simple-keyboard-button/index.html">SimpleKeyboardButton</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span> : <a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Simple button. user will send text of this button. You will be able to catch this text in updates and data using <a href="../dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling/on-text.html">dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onText</a> in case you are using Behaviour Builder OR with <a href="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/messages-flow.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.messagesFlow</a> and <span data-unresolved-link="kotlinx.coroutines.flow//filterIsInstance/kotlinx.coroutines.flow.Flow[*]#/PointingToDeclaration/">kotlinx.coroutines.flow.filterIsInstance</span> and filtering by type <a href="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">dev.inmo.tgbotapi.types.message.abstracts.CommonMessage</a> and <a href="../dev.inmo.tgbotapi.extensions.utils/only-text-content-messages.html">dev.inmo.tgbotapi.extensions.utils.onlyTextContentMessages</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1744256587%2FClasslikes%2F-1982836883" anchor-label="UnknownKeyboardButton" id="1744256587%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-unknown-keyboard-button/index.html"><span>Unknown</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1744256587%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-unknown-keyboard-button/index.html">UnknownKeyboardButton</a> : <a href="-keyboard-button/index.html">KeyboardButton</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1511943858%2FClasslikes%2F-1982836883" anchor-label="UnknownKeyboardButtonPollType" id="1511943858%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-unknown-keyboard-button-poll-type/index.html"><span>Unknown</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span>Button</span><wbr></wbr><span>Poll</span><wbr></wbr><span><span>Type</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1511943858%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">class </span><a href="-unknown-keyboard-button-poll-type/index.html">UnknownKeyboardButtonPollType</a> : <a href="-keyboard-button-poll-type/index.html">KeyboardButtonPollType</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="339588142%2FClasslikes%2F-1982836883" anchor-label="WebAppKeyboardButton" id="339588142%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-web-app-keyboard-button/index.html"><span>Web</span><wbr></wbr><span>App</span><wbr></wbr><span>Keyboard</span><wbr></wbr><span><span>Button</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="339588142%2FClasslikes%2F-1982836883"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-web-app-keyboard-button/index.html">WebAppKeyboardButton</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>webApp<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.webapps/-web-app-info/index.html">WebAppInfo</a></span></span><span class="token punctuation">)</span> : <a href="-keyboard-button/index.html">KeyboardButton</a></div><div class="brief "><p class="paragraph">Private chats only. Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method <code class="lang-kotlin">answerWebAppQuery</code>. Available only in private chats between a user and the bot.</p></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2023 Copyright</span><span
class="pull-right"><span>Generated by </span><a
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
</div>
</div>
</div>
</body>
</html>