2021-03-21 17:26:45 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
|
|
<title>dev.inmo.tgbotapi.extensions.api</title>
|
2022-01-01 21:40:22 +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")
|
|
|
|
const savedDarkMode = storage ? JSON.parse(storage) : false
|
|
|
|
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" async="async"></script><script type="text/javascript" src="../../scripts/prism.js" async="async"></script> </head>
|
2021-03-21 17:26:45 +00:00
|
|
|
<body>
|
2022-01-01 21:40:22 +00:00
|
|
|
<div class="navigation-wrapper" id="navigation-wrapper">
|
|
|
|
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
|
|
|
<div class="library-name"><a href="../../index.html">docs</a></div>
|
|
|
|
<div></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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div id="container">
|
2022-01-01 21:40:22 +00:00
|
|
|
<div id="leftColumn">
|
2021-03-21 17:26:45 +00:00
|
|
|
<div id="sideMenu"></div>
|
|
|
|
</div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<div id="main"><script type="text/javascript" src="../../scripts/main.js"></script>
|
|
|
|
<div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.extensions.api////PointingToDeclaration//-1982836883">
|
|
|
|
<div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.api</a></div>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="cover ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</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>
|
2021-04-30 04:00:18 +00:00
|
|
|
<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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="-bot-builder/index.html"><span>Bot</span><wbr></wbr><span><span>Builder</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="951375368%2FClasslikes%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="-live-location-provider/index.html"><span>Live</span><wbr></wbr><span>Location</span><wbr></wbr><span><span>Provider</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1812996086%2FClasslikes%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h2 class="">Functions</h2>
|
2021-04-30 04:00:18 +00:00
|
|
|
<div class="table" data-togglable="Functions"><a data-name="343983107%2FFunctions%2F-1982836883" anchor-label="buildBot" id="343983107%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="build-bot.html"><span>build</span><wbr></wbr><span><span>Bot</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="343983107%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>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>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>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 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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="close.html"><span><span>close</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2113971977%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="1970600640%2FFunctions%2F-1982836883" anchor-label="delete" id="1970600640%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="delete.html"><span><span>delete</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1970600640%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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.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>requestsExecutor<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a><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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="-393877077%2FFunctions%2F-1982836883" anchor-label="deleteMessage" id="-393877077%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="delete-message.html"><span>delete</span><wbr></wbr><span><span>Message</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-393877077%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>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 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>chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span>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 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>chat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a><span class="token punctuation">, </span>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 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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<a data-name="155144044%2FFunctions%2F-1982836883" anchor-label="forwardMessage" id="155144044%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2022-01-01 21:40:22 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="forward-message.html"><span>forward</span><wbr></wbr><span><span>Message</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="155144044%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>toChatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span>message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span>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>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 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>toChat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a><span class="token punctuation">, </span>message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span>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>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 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>fromChatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span>toChatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span>messageId<span class="token operator">:
|
2021-03-21 17:26:45 +00:00
|
|
|
</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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="get-updates.html"><span>get</span><wbr></wbr><span><span>Updates</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1598535586%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>lastUpdate<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a><span class="token punctuation">, </span>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>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>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 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>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>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>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>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 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
|
2021-03-21 17:26:45 +00:00
|
|
|
</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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="log-out.html"><span>log</span><wbr></wbr><span><span>Out</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="999830545%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2022-01-01 21:40:22 +00:00
|
|
|
<div class=""><span class="inline-flex"><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><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1172478176%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>to<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span>scope<span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><span class="token punctuation">, </span>location<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.location/-static-location/index.html">StaticLocation</a><span class="token punctuation">, </span>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>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>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>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>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>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>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>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 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"></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">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>to<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span>scope<span class="token op
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<a data-name="1904051782%2FFunctions%2F-1982836883" anchor-label="startLiveLocation" id="1904051782%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2022-01-01 21:40:22 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="start-live-location.html"><span>start</span><wbr></wbr><span>Live</span><wbr></wbr><span><span>Location</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1904051782%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>scope<span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><span class="token punctuation">, </span>chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a><span class="token punctuation">, </span>location<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.location/-static-location/index.html">StaticLocation</a><span class="token punctuation">, </span>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>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>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>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>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>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>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>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>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 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"></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="start-live-location.html"><span class="token function">startLiveLocation</span></a
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="1082029026%2FFunctions%2F-1982836883" anchor-label="stopPoll" id="1082029026%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="stop-poll.html"><span>stop</span><wbr></wbr><span><span>Poll</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1082029026%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a><span class="token punctuation">, </span>message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span>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 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>chatId<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span>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>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 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>chat<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a><span class="token punctuation">, </span>message<span class="token operator">: </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">, </span>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 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=
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="-1068958614%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-1068958614%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-09-21 17:22:52 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="telegram-bot.html"><span>telegram</span><wbr></wbr><span><span>Bot</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1068958614%2FFunctions%2F-1982836883"></span>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>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>client<span class="token operator">: </span><span data-unresolved-link="io.ktor.client/HttpClient///PointingToDeclaration/">HttpClient</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>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 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 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>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>clientEngine<span class="token operator">: </span><span data-unresolved-link="io.ktor.client.engine/HttpClientEngine///PointingToDeclaration/">HttpClientEngine</span><span class="token punctuation">, </span><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">.</spa
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h2 class="">Properties</h2>
|
2021-04-30 04:00:18 +00:00
|
|
|
<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>
|
2021-03-21 17:26:45 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
2021-04-30 04:00:18 +00:00
|
|
|
<div class=""><span class="inline-flex"><a href="default-live-period-delay-millis.html">defaultLivePeriodDelayMillis</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1267462584%2FProperties%2F-1982836883"></span>
|
2021-03-21 17:26:45 +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">
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-01 21:40:22 +00:00
|
|
|
<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>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|