2022-05-11 18:10:43 +00:00
|
|
|
<!DOCTYPE html>
|
2021-03-21 17:26:45 +00:00
|
|
|
<html>
|
2022-05-11 18:10:43 +00:00
|
|
|
<head>
|
2021-03-21 17:26:45 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
|
|
<title>dev.inmo.tgbotapi.extensions.api</title>
|
2022-05-11 18:10:43 +00:00
|
|
|
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg">
|
|
|
|
<script>var pathToRoot = "../../";</script>
|
|
|
|
<script>const storage = localStorage.getItem("dokka-dark-mode")
|
2022-01-01 21:40:22 +00:00
|
|
|
const savedDarkMode = storage ? JSON.parse(storage) : false
|
|
|
|
if(savedDarkMode === true){
|
|
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
|
|
}</script>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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>
|
|
|
|
</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>
|
2022-07-31 13:33:11 +00:00
|
|
|
2.2.2 </div>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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>
|
2022-01-01 21:40:22 +00:00
|
|
|
<div id="searchBar"></div>
|
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
<div id="container">
|
|
|
|
<div id="leftColumn">
|
2021-03-21 17:26:45 +00:00
|
|
|
<div id="sideMenu"></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
<div id="main">
|
|
|
|
<div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.api////PointingToDeclaration//-1982836883">
|
|
|
|
<div class="breadcrumbs"><a href="../../index.html">docs</a><span class="delimiter">/</span><a href="index.html">dev.inmo.tgbotapi.extensions.api</a></div>
|
|
|
|
<div class="cover ">
|
|
|
|
<h1 class="cover"><span><span>Package</span></span> <span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>extensions.</span><wbr></wbr><span>api</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><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
|
|
|
|
<div class="tabs-section-body">
|
|
|
|
<h2 class="">Types</h2>
|
|
|
|
<div class="table" data-togglable="Types"><a data-name="951375368%2FClasslikes%2F-1982836883" anchor-label="BotBuilder" id="951375368%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="-bot-builder/index.html"><span>Bot</span><wbr></wbr><span><span>Builder</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="951375368%2FClasslikes%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">data </span><span class="token keyword">class </span><a href="-bot-builder/index.html">BotBuilder</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="-1812996086%2FClasslikes%2F-1982836883" anchor-label="LiveLocationProvider" id="-1812996086%2FClasslikes%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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="-live-location-provider/index.html"><span>Live</span><wbr></wbr><span>Location</span><wbr></wbr><span><span>Provider</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1812996086%2FClasslikes%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-live-location-provider/index.html">LiveLocationProvider</a> : <span data-unresolved-link="io.ktor.utils.io.core/Closeable///PointingToDeclaration/">Closeable</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h2 class="">Functions</h2>
|
|
|
|
<div class="table" data-togglable="Functions"><a data-name="1335939497%2FFunctions%2F-1982836883" anchor-label="buildBot" id="1335939497%2FFunctions%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="build-bot.html"><span>build</span><wbr></wbr><span><span>Bot</span></span></a></div>
|
2022-05-02 07:54:40 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1335939497%2FFunctions%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="build-bot.html"><span class="token function">buildBot</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> token<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 indented"> apiUrl<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>telegramBotAPIDefaultUrl<span class="token punctuation">, </span></span><span class="parameter indented"> testServer<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 boolean">false</span><span class="token punctuation">, </span></span><span class="parameter indented"> block<span class="token operator">: </span><span class="token keyword"></span><a href="-bot-builder/index.html">BotBuilder</a><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.bot/-requests-executor/index.html">RequestsExecutor</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="-2113971977%2FFunctions%2F-1982836883" anchor-label="close" id="-2113971977%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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="close.html"><span><span>close</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2113971977%2FFunctions%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="close.html"><span class="token function">close</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-26 07:46:58 +00:00
|
|
|
<a data-name="-1626787711%2FFunctions%2F-1982836883" anchor-label="delete" id="-1626787711%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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="delete.html"><span><span>delete</span></span></a></div>
|
2022-06-26 07:46:58 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1626787711%2FFunctions%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
2022-06-26 07:46:58 +00:00
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="delete.html"><span class="token function">delete</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">.</span><a href="delete.html"><span class="token function">delete</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">requestsExecutor<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="delete.html"><span class="token function">delete</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span></span><span class="parameter ">messageId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="delete.html"><span class="token function">delete</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a><span class="token punctuation">, </span></span><span class="parameter ">messageId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-posi
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="-397926034%2FFunctions%2F-1982836883" anchor-label="deleteMessage" id="-397926034%2FFunctions%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="delete-message.html"><span>delete</span><wbr></wbr><span><span>Message</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-397926034%2FFunctions%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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="delete-message.html"><span class="token function">deleteMessage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="delete-message.html"><span class="token function">deleteMessage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span></span><span class="parameter ">messageId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="delete-message.html"><span class="token function">deleteMessage</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a><span class="token punctuation">, </span></span><span class="parameter ">messageId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="1308407715%2FFunctions%2F-1982836883" anchor-label="forwardMessage" id="1308407715%2FFunctions%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="forward-message.html"><span>forward</span><wbr></wbr><span><span>Message</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1308407715%2FFunctions%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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="forward-message.html"><span class="token function">forwardMessage</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> toChatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span></span><span class="parameter indented"> message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span></span><span class="parameter indented"> disableNotification<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 boolean">false</span><span class="token punctuation">, </span></span><span class="parameter indented"> protectContent<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 boolean">false</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.html">PossiblyForwardedMessage</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="forward-message.html"><span class="token function">forwardMessage</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> toChat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a><span class="token punctuation">, </span></span><span class="parameter indented"> message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span></span><span class="parameter indented"> disableNotification<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 boolean">false</span><span class="token punctuation">, </span></span><span class="parameter indented"> protectContent<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 boolean">false</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.html">PossiblyForwardedMessage</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClass
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="-1598535586%2FFunctions%2F-1982836883" anchor-label="getUpdates" id="-1598535586%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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="get-updates.html"><span>get</span><wbr></wbr><span><span>Updates</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1598535586%2FFunctions%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="get-updates.html"><span class="token function">getUpdates</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> lastUpdate<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token punctuation">, </span></span><span class="parameter indented"> limit<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token operator"> = </span>getUpdatesLimit.last<span class="token punctuation">, </span></span><span class="parameter indented"> timeout<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1838927582%2FClasslikes%2F-1982836883">Seconds</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> allowed_updates<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"><</span><span class="token keyword"></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><span class="token operator"> = </span>ALL_UPDATES_LIST</span></span><span class="token punctuation">)</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"><</span><span class="token keyword"></span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token operator">></span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="get-updates.html"><span class="token function">getUpdates</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> offset<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> limit<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token operator"> = </span>getUpdatesLimit.last<span class="token punctuation">, </span></span><span class="parameter indented"> timeout<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1838927582%2FClasslikes%2F-1982836883">Seconds</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> allowed_updates<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"><</span><span class="token ke
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="999830545%2FFunctions%2F-1982836883" anchor-label="logOut" id="999830545%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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="log-out.html"><span>log</span><wbr></wbr><span><span>Out</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="999830545%2FFunctions%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="log-out.html"><span class="token function">logOut</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<a data-name="1172478176%2FFunctions%2F-1982836883" anchor-label="replyWithLiveLocation" id="1172478176%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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-with-live-location.html"><span>reply</span><wbr></wbr><span>With</span><wbr></wbr><span>Live</span><wbr></wbr><span><span>Location</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1172478176%2FFunctions%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="reply-with-live-location.html"><span class="token function">replyWithLiveLocation</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> to<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span></span><span class="parameter indented"> scope<span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><span class="token punctuation">, </span></span><span class="parameter indented"> location<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.location/-static-location/index.html">StaticLocation</a><span class="token punctuation">, </span></span><span class="parameter indented"> liveTimeMillis<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="token operator"> = </span>defaultLivePeriodDelayMillis<span class="token punctuation">, </span></span><span class="parameter indented"> initHorizontalAccuracy<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> initHeading<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> initProximityAlertRadius<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> disableNotification<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 boolean">false</span><span class="token punctuation">, </span></span><span class="parameter indented"> protectContent<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 boolean">false</span><span class="token punctuation">, </span></span><span class="parameter indented"> allowSendingWithoutReply<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 indented"> replyMarkup<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-live-location-provider/index.html">LiveLocationProvider</a><span class="top-right-position"><span class="copy-icon
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="-600786164%2FFunctions%2F-1982836883" anchor-label="startLiveLocation" id="-600786164%2FFunctions%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="start-live-location.html"><span>start</span><wbr></wbr><span>Live</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-600786164%2FFunctions%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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="start-live-location.html"><span class="token function">startLiveLocation</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> scope<span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><span class="token punctuation">, </span></span><span class="parameter indented"> chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a><span class="token punctuation">, </span></span><span class="parameter indented"> location<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.location/-static-location/index.html">StaticLocation</a><span class="token punctuation">, </span></span><span class="parameter indented"> liveTimeMillis<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="token operator"> = </span>defaultLivePeriodDelayMillis<span class="token punctuation">, </span></span><span class="parameter indented"> initHorizontalAccuracy<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> initHeading<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> initProximityAlertRadius<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> disableNotification<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 boolean">false</span><span class="token punctuation">, </span></span><span class="parameter indented"> protectContent<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 boolean">false</span><span class="token punctuation">, </span></span><span class="parameter indented"> replyToMessageId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> allowSendingWithoutReply<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 indented"> replyMarkup<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="-1505033764%2FFunctions%2F-1982836883" anchor-label="stopPoll" id="-1505033764%2FFunctions%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="stop-poll.html"><span>stop</span><wbr></wbr><span><span>Poll</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1505033764%2FFunctions%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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="stop-poll.html"><span class="token function">stopPoll</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a><span class="token punctuation">, </span></span><span class="parameter indented"> message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span></span><span class="parameter indented"> replyMarkup<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.html">InlineKeyboardMarkup</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.polls/-poll/index.html">Poll</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="stop-poll.html"><span class="token function">stopPoll</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span></span><span class="parameter indented"> messageId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a><span class="token punctuation">, </span></span><span class="parameter indented"> replyMarkup<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.html">InlineKeyboardMarkup</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.polls/-poll/index.html">Poll</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="token punctuation">.</span><a href="stop-poll.html"><span class="token function">stopPoll</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> chat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a><span class="token punctuation">, </span></span><span class="parameter indented"> message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span></span><span class="parameter indented"> replyMarkup<span class="token ope
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-02 07:54:40 +00:00
|
|
|
<a data-name="-1019260782%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-1019260782%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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="telegram-bot.html"><span>telegram</span><wbr></wbr><span><span>Bot</span></span></a></div>
|
2022-05-02 07:54:40 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1019260782%2FFunctions%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="telegram-bot.html"><span class="token function">telegramBot</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">urlsKeeper<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.utils/-telegram-a-p-i-urls-keeper/index.html">TelegramAPIUrlsKeeper</a><span class="token punctuation">, </span></span><span class="parameter ">client<span class="token operator">: </span><span data-unresolved-link="io.ktor.client/HttpClient///PointingToDeclaration/">HttpClient</span><span class="token operator"> = </span>HttpClient()</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">Allows to create bot using bot <a href="telegram-bot.html">urlsKeeper</a> and already prepared <a href="telegram-bot.html">client</a></p></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="telegram-bot.html"><span class="token function">telegramBot</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">urlsKeeper<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.utils/-telegram-a-p-i-urls-keeper/index.html">TelegramAPIUrlsKeeper</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>clientConfig<span class="token operator">: </span><span class="token keyword"></span><span data-unresolved-link="io.ktor.client/HttpClientConfig///PointingToDeclaration/">HttpClientConfig</span><span class="token operator"><</span><span class="token operator">*</span><span class="token operator">></span><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.tgbotapi.bot/-requests-executor/index.html">RequestsExecutor</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">Allows to create bot using bot <a href="telegram-bot.html">urlsKeeper</a> and specify <span data-unresolved-link="io.ktor.client.engine/HttpClientEngine///PointingToDeclaration/">HttpClientEngine</span> by configuring <span data-unresolved-link="io.ktor.client/HttpClient///PointingToDeclaration/">HttpClient</span> using <a href="telegram-bot.html">clientConfig</a></p></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="telegram-bot.html"><span class="token function">telegramBot</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> urlsKeeper<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.utils/-telegram-a-p-i-urls-keeper/index.html">TelegramAPIUrlsKeeper</a><span class="token punctuation">, </span></span><span class="parameter indented"> clientEngine<span class="token operator">: </span><span data-unresolved-link="io.ktor.client.engine/HttpClientEngine///PointingToDeclaration/">HttpClientEngine</span><span class="token punctuation">, <
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h2 class="">Properties</h2>
|
|
|
|
<div class="table" data-togglable="Properties"><a data-name="-1267462584%2FProperties%2F-1982836883" anchor-label="defaultLivePeriodDelayMillis" id="-1267462584%2FProperties%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="default-live-period-delay-millis.html">defaultLivePeriodDelayMillis</a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1267462584%2FProperties%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<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 with-platform-tabs" data-platform-hinted="data-platform-hinted" data-togglable="Properties">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain" data-active="" data-toggle=":docs:dokkaHtml/commonMain">common</button></div>
|
|
|
|
<div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="-1267462584%2FProperties%2F-1982836883" anchor-label="defaultLivePeriodDelayMillis" id="-1267462584%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="default-live-period-delay-millis.html">defaultLivePeriodDelayMillis</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</html>
|