vvlad1973-telegram-framework
Version:
Current version: *7.9.5*
3,331 lines (851 loc) • 46.8 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: ReplyKeyboardMarkup</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: ReplyKeyboardMarkup</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>
<span class="ancestors"><a href="module-reply_keyboard_markup.html">reply_keyboard_markup</a>.</span>ReplyKeyboardMarkup<span class="signature">()</span><span class="type-signature"></span></h2>
<div class="class-description">Implements structure for operations with Telegram bot's commands</div>
</header>
<article>
<div class="container-overview">
<h2>Constructor</h2>
<h4 class="name" id="ReplyKeyboardMarkup"><span class="type-signature"></span>new ReplyKeyboardMarkup<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
This object represents a custom keyboard with reply options
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line57">line 57</a>
</li></ul></dd>
</dl>
</div>
<h3 class="subsection-title">Members</h3>
<h4 class="name" id="keyboard"><span class="type-signature"></span>keyboard<span class="type-signature"></span></h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code></code></td>
<td class="type">
<span class="param-type">Array.<Array.<<a href="module-reply_keyboard_markup.html#.KeyboardButton">module:reply_keyboard_markup.KeyboardButton</a>>></span>
</td>
<td class="attributes">
</td>
<td class="description last">Array
of button rows, each represented by an Array of KeyboardButton objects</td>
</tr>
<tr>
<td class="name"><code>is_persistent</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Requests clients to always show the
keyboard when the regular keyboard is hidden. Defaults to false, in
which case the custom keyboard can be hidden and opened with a
keyboard icon</td>
</tr>
<tr>
<td class="name"><code>resize_keyboard</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Requests clients to resize the
keyboard vertically for optimal fit (e.g., make the keyboard smaller
if there are just two rows of buttons). Defaults to false, in which
case the custom keyboard is always of the same height as the app's
standard keyboard</td>
</tr>
<tr>
<td class="name"><code>one_time_keyboard</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Requests clients to hide the
keyboard as soon as it's been used. The keyboard will still be
available, but clients will automatically display the usual
letter-keyboard in the chat - the user can press a special button in
the input field to see the custom keyboard again. Defaults to false</td>
</tr>
<tr>
<td class="name"><code>input_field_placeholder</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">The placeholder to be
shown in the input field when the keyboard is active; 1-64 characters</td>
</tr>
<tr>
<td class="name"><code>selective</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Use this parameter if you want to show
the keyboard to specific users only. Targets: 1) users that are @mentioned
in the text of the Message object; 2) if the bot's message
is a reply (has reply_to_message_id), sender of the original message
Example: A user requests to change the bot's language, bot replies to
the request with a keyboard to select the new language. Other users in
the group don't see the keyboard</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line85">line 85</a>
</li></ul></dd>
</dl>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="appendRequestContactButton"><span class="type-signature"></span>appendRequestContactButton<span class="signature">(text, row<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Append a request contact button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Row number to append button (0-based). If
not specified, the button will append to the last row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line229">line 229</a>
</li></ul></dd>
</dl>
<h4 class="name" id="appendRequestLocationButton"><span class="type-signature"></span>appendRequestLocationButton<span class="signature">(text, row<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Append a request location button to inline keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Row number to append button (0-based). If
not specified, the button will append to the last row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line271">line 271</a>
</li></ul></dd>
</dl>
<h4 class="name" id="appendRequestPollButton"><span class="type-signature"></span>appendRequestPollButton<span class="signature">(text, pollType<span class="signature-attributes">opt</span>, row<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Append a request poll button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>pollType</code></td>
<td class="type">
<span class="param-type"><a href="module-enums.html#.KeyboardButtonPollTypes">module:enums.KeyboardButtonPollTypes</a></span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">If specified,
the user will be asked to create a poll and send it to the bot when
the button is pressed. Available in private chats only</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Row number to append button (0-based). If
not specified, the button will append to the last row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line374">line 374</a>
</li></ul></dd>
</dl>
<h4 class="name" id="appendRows"><span class="type-signature"></span>appendRows<span class="signature">(number<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Append one or more rows to the keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>number</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
1
</td>
<td class="description last">Number of rows to append. If not specified,
wlll append one row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line101">line 101</a>
</li></ul></dd>
</dl>
<h4 class="name" id="appendTextButton"><span class="type-signature"></span>appendTextButton<span class="signature">(text, row<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Append a text button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Row number to append button (0-based). If
not specified, the button will append to the last row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line188">line 188</a>
</li></ul></dd>
</dl>
<h4 class="name" id="appendWebAppButton"><span class="type-signature"></span>appendWebAppButton<span class="signature">(text, url, row<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Append a Web App button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>url</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">An HTTPS URL of a Web App to be opened with
additional data as specified in Initializing Web Apps</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Row number to append button (0-based). If
not specified, the button will append to the last row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line319">line 319</a>
</li></ul></dd>
</dl>
<h4 class="name" id="deleteButton"><span class="type-signature"></span>deleteButton<span class="signature">(row<span class="signature-attributes">opt</span>, column<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Remove a button from a specific row
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Number of row of button to delete (0-based).
If not specified, will delete a button from the last row</td>
</tr>
<tr>
<td class="name"><code>column</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Number of column of button to delete
(0-based). If not specified, will delete the last button from the
row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line144">line 144</a>
</li></ul></dd>
</dl>
<h4 class="name" id="deleteRow"><span class="type-signature"></span>deleteRow<span class="signature">(index<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Delete a row from the keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>index</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="description last">Index of row to delete (0-based). If not
specified, will delete the last row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line127">line 127</a>
</li></ul></dd>
</dl>
<h4 class="name" id="insertRequestContactButton"><span class="type-signature"></span>insertRequestContactButton<span class="signature">(text, row<span class="signature-attributes">opt</span>, column<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Insert a request contact button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Row number to insert button (0-based). If
not specified, the button will insert to the first row</td>
</tr>
<tr>
<td class="name"><code>column</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Number of column of button to insert
(0-based). If not specified, the button will insert to the first
position of the row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line208">line 208</a>
</li></ul></dd>
</dl>
<h4 class="name" id="insertRequestLocationButton"><span class="type-signature"></span>insertRequestLocationButton<span class="signature">(text, row<span class="signature-attributes">opt</span>, column<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Insert a request location button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Row number to insert button (0-based). If
not specified, the button will insert to the first row</td>
</tr>
<tr>
<td class="name"><code>column</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Number of column of button to insert
(0-based). If not specified, the button will insert to the first
position of the row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line250">line 250</a>
</li></ul></dd>
</dl>
<h4 class="name" id="insertRequestPollButton"><span class="type-signature"></span>insertRequestPollButton<span class="signature">(text, pollType<span class="signature-attributes">opt</span>, row<span class="signature-attributes">opt</span>, column<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Insert a request poll button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>pollType</code></td>
<td class="type">
<span class="param-type"><a href="module-enums.html#.KeyboardButtonPollTypes">module:enums.KeyboardButtonPollTypes</a></span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
</td>
<td class="description last">If specified,
the user will be asked to create a poll and send it to the bot when
the button is pressed. Available in private chats only</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Row number to insert button (0-based). If
not specified, the button will insert to the first row</td>
</tr>
<tr>
<td class="name"><code>column</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Number of column of button to insert
(0-based). If not specified, the button will insert to the first
position of the row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line348">line 348</a>
</li></ul></dd>
</dl>
<h4 class="name" id="insertRows"><span class="type-signature"></span>insertRows<span class="signature">(index<span class="signature-attributes">opt</span>, number<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Insert one or more rows to the keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>index</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Number of position to insert rows (0-based).
If not specified, rows will insert at the first position</td>
</tr>
<tr>
<td class="name"><code>number</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
1
</td>
<td class="description last">Number of rows to append. If not specified,
wlll insert one row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line115">line 115</a>
</li></ul></dd>
</dl>
<h4 class="name" id="insertTextButton"><span class="type-signature"></span>insertTextButton<span class="signature">(text, row<span class="signature-attributes">opt</span>, column<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Insert a text button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Row number to insert button (0-based). If
not specified, the button will insert to the first row</td>
</tr>
<tr>
<td class="name"><code>column</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Number of column of button to insert
(0-based). If not specified, the button will insert to the first
position of the row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line170">line 170</a>
</li></ul></dd>
</dl>
<h4 class="name" id="insertWebAppButton"><span class="type-signature"></span>insertWebAppButton<span class="signature">(text, url, row<span class="signature-attributes">opt</span>, column<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<div class="description">
Insert a Web App button to reply keyboard
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>text</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">Text label for the button</td>
</tr>
<tr>
<td class="name"><code>url</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">An HTTPS URL of a Web App to be opened with
additional data as specified in Initializing Web Apps</td>
</tr>
<tr>
<td class="name"><code>row</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Row number to insert button (0-based). If
not specified, the button will insert to the first row</td>
</tr>
<tr>
<td class="name"><code>column</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
0
</td>
<td class="description last">Number of column of button to insert
(0-based). If not specified, the button will insert to the first
position of the row</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="reply_keyboard_markup.js.html">reply_keyboard_markup.js</a>, <a href="reply_keyboard_markup.js.html#line294">line 294</a>
</li></ul></dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-base_telegram_bot.html">base_telegram_bot</a></li><li><a href="module-bot_commands.html">bot_commands</a></li><li><a href="module-enums.html">enums</a></li><li><a href="module-inline_keyboard_markup.html">inline_keyboard_markup</a></li><li><a href="module-reply_keyboard_markup.html">reply_keyboard_markup</a></li><li><a href="module-sender.html">sender</a></li></ul><h3>Classes</h3><ul><li><a href="module-base_telegram_bot.BaseTelegramBot.html">BaseTelegramBot</a></li><li><a href="module-bot_commands-BotCommandsArray.html">BotCommandsArray</a></li><li><a href="module-inline_keyboard_markup.InlineKeyboardMarkup.html">InlineKeyboardMarkup</a></li><li><a href="module-reply_keyboard_markup.ReplyKeyboardMarkup.html">ReplyKeyboardMarkup</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sun Mar 26 2023 20:28:31 GMT+0300 (Москва, стандартное время)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>