<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> <title>dev.inmo.tgbotapi.extensions.api</title> <link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.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> </head> <body> <div id="container"> <div id="leftColumn"><a href="../../index.html"> <div id="logo"></div> </a> <div id="paneSearch"></div> <div id="sideMenu"></div> </div> <div id="main"> <div id="leftToggler"><span class="icon-toggler"></span></div> <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="navigation-wrapper" id="navigation-wrapper"> <div class="breadcrumbs"><a href="../../index.html">docs</a>/<a href="index.html">dev.inmo.tgbotapi.extensions.api</a></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> <div id="searchBar"></div> </div> </div> <div class="cover "> <h1 class="cover"><span>Package 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"><a href="-bot-builder/index.html">BotBuilder</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="951375368%2FClasslikes%2F-1982836883"></span> <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> </span></span></div> <div> <div class="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">data class <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> </div> </div> <a data-name="-1812996086%2FClasslikes%2F-1982836883" anchor-label="LiveLocationProvider" id="-1812996086%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"><a href="-live-location-provider/index.html">LiveLocationProvider</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1812996086%2FClasslikes%2F-1982836883"></span> <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> </span></span></div> <div> <div class="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">class <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> </div> </div> </div> </div> </div> </div> </div> <h2 class="">Functions</h2> <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> <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"><a href="build-bot.html">buildBot</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="343983107%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">fun <a href="build-bot.html">buildBot</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, block: <a href="-bot-builder/index.html">BotBuilder</a>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <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> </div> </div> <a data-name="-2113971977%2FFunctions%2F-1982836883" anchor-label="close" id="-2113971977%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"><a href="close.html">close</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2113971977%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="close.html">close</a>(): <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> </div> </div> <a data-name="1970600640%2FFunctions%2F-1982836883" anchor-label="delete" id="1970600640%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"><a href="delete.html">delete</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1970600640%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>.<a href="delete.html">delete</a>(requestsExecutor: <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>): <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> </div> </div> <a data-name="-393877077%2FFunctions%2F-1982836883" anchor-label="deleteMessage" id="-393877077%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"><a href="delete-message.html">deleteMessage</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-393877077%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="delete-message.html">deleteMessage</a>(message: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="delete-message.html">deleteMessage</a>(chatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="delete-message.html">deleteMessage</a>(chat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>): <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> </div> </div> <a data-name="-524845222%2FFunctions%2F-1982836883" anchor-label="downloadFile" id="-524845222%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"><a href="download-file.html">downloadFile</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-524845222%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="download-file.html">downloadFile</a>(fileId: <a href="../dev.inmo.tgbotapi.requests.abstracts/-file-id/index.html">FileId</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="download-file.html">downloadFile</a>(pathedFile: <a href="../dev.inmo.tgbotapi.types.files/-pathed-file/index.html">PathedFile</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="download-file.html">downloadFile</a>(file: <a href="../dev.inmo.tgbotapi.types.files.abstracts/-telegram-media-file/index.html">TelegramMediaFile</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="download-file.html">downloadFile</a>(filePath: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html">ByteArray</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> </div> </div> <a data-name="584931040%2FFunctions%2F-1982836883" anchor-label="forwardMessage" id="584931040%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"><a href="forward-message.html">forwardMessage</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="584931040%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="forward-message.html">forwardMessage</a>(toChatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, message: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="forward-message.html">forwardMessage</a>(toChat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, message: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="forward-message.html">forwardMessage</a>(fromChatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, toChatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="forward-message.html">forwardMessage</a>(fromChatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, toChat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="forward-message.html">forwardMessage</a>(fromChat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, toChatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="forward-message.html">forwardMessage</a>(fromChat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, toChat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false): <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></div> </div> </div> </div> </div> </div> </div> <a data-name="-1598535586%2FFunctions%2F-1982836883" anchor-label="getUpdates" id="-1598535586%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"><a href="get-updates.html">getUpdates</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1598535586%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="get-updates.html">getUpdates</a>(lastUpdate: <a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</a>, limit: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = getUpdatesLimit.last, timeout: <a href="../dev.inmo.tgbotapi.types/index.html#-1838927582%2FClasslikes%2F-1982836883">Seconds</a>? = null, allowed_updates: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>? = ALL_UPDATES_LIST): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="get-updates.html">getUpdates</a>(offset: <a href="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a>? = null, limit: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = getUpdatesLimit.last, timeout: <a href="../dev.inmo.tgbotapi.types/index.html#-1838927582%2FClasslikes%2F-1982836883">Seconds</a>? = null, allowed_updates: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>>? = ALL_UPDATES_LIST): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<a href="../dev.inmo.tgbotapi.types.update.abstracts/-update/index.html">Update</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> </div> </div> <a data-name="999830545%2FFunctions%2F-1982836883" anchor-label="logOut" id="999830545%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"><a href="log-out.html">logOut</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="999830545%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="log-out.html">logOut</a>(): <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> </div> </div> <a data-name="1463885174%2FFunctions%2F-1982836883" anchor-label="replyWithLiveLocation" id="1463885174%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"><a href="reply-with-live-location.html">replyWithLiveLocation</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1463885174%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="reply-with-live-location.html">replyWithLiveLocation</a>(to: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, location: <a href="../dev.inmo.tgbotapi.types.location/-static-location/index.html">StaticLocation</a>, liveTimeMillis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = defaultLivePeriodDelayMillis, initHorizontalAccuracy: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, initHeading: <a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a>? = null, initProximityAlertRadius: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <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">inline suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="reply-with-live-location.html">replyWithLiveLocation</a>(to: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, latitude: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, longitude: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, liveTimeMillis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = defaultLivePeriodDelayMillis, initHorizontalAccuracy: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, initHeading: <a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a>? = null, initProximityAlertRadius: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <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></div> </div> </div> </div> </div> </div> </div> <a data-name="-1520456214%2FFunctions%2F-1982836883" anchor-label="startLiveLocation" id="-1520456214%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"><a href="start-live-location.html">startLiveLocation</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1520456214%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="start-live-location.html">startLiveLocation</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, chatId: <a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a>, location: <a href="../dev.inmo.tgbotapi.types.location/-static-location/index.html">StaticLocation</a>, liveTimeMillis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = defaultLivePeriodDelayMillis, initHorizontalAccuracy: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, initHeading: <a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a>? = null, initProximityAlertRadius: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="start-live-location.html">startLiveLocation</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, chat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, location: <a href="../dev.inmo.tgbotapi.types.location/-static-location/index.html">StaticLocation</a>, liveTimeMillis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = defaultLivePeriodDelayMillis, initHorizontalAccuracy: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, initHeading: <a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a>? = null, initProximityAlertRadius: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="start-live-location.html">startLiveLocation</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, chatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, latitude: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, longitude: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, liveTimeMillis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = defaultLivePeriodDelayMillis, initHorizontalAccuracy: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, initHeading: <a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a>? = null, initProximityAlertRadius: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="start-live-location.html">startLiveLocation</a>(scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, chat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, latitude: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, longitude: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, liveTimeMillis: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = defaultLivePeriodDelayMillis, initHorizontalAccuracy: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, initHeading: <a href="../dev.inmo.tgbotapi.types/index.html#-668295814%2FClasslikes%2F-1982836883">Degrees</a>? = null, initProximityAlertRadius: <a href="../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a>? = null, disableNotification: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> = false, replyToMessageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>? = null, allowSendingWithoutReply: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>? = null, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-keyboard-markup/index.html">KeyboardMarkup</a>? = null): <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></div> </div> </div> </div> </div> </div> </div> <a data-name="1082029026%2FFunctions%2F-1982836883" anchor-label="stopPoll" id="1082029026%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"><a href="stop-poll.html">stopPoll</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1082029026%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="stop-poll.html">stopPoll</a>(chatId: <a href="../dev.inmo.tgbotapi.types/-chat-id/index.html">ChatId</a>, message: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.html">InlineKeyboardMarkup</a>? = null): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="stop-poll.html">stopPoll</a>(chatId: <a href="../dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.html">InlineKeyboardMarkup</a>? = null): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="stop-poll.html">stopPoll</a>(chat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, message: <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a>, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.html">InlineKeyboardMarkup</a>? = null): <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">suspend fun <a href="../dev.inmo.tgbotapi.bot/index.html#-1167693203%2FClasslikes%2F-1982836883">TelegramBot</a>.<a href="stop-poll.html">stopPoll</a>(chat: <a href="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>, messageId: <a href="../dev.inmo.tgbotapi.types/index.html#489476273%2FClasslikes%2F-1982836883">MessageIdentifier</a>, replyMarkup: <a href="../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.html">InlineKeyboardMarkup</a>? = null): <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></div> </div> </div> </div> </div> </div> </div> <a data-name="-1068958614%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-1068958614%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"><a href="telegram-bot.html">telegramBot</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1068958614%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="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"><div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">fun <a href="telegram-bot.html">telegramBot</a>(urlsKeeper: <a href="../dev.inmo.tgbotapi.utils/-telegram-a-p-i-urls-keeper/index.html">TelegramAPIUrlsKeeper</a>, client: <span data-unresolved-link="io.ktor.client/HttpClient///PointingToDeclaration/">HttpClient</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></div> </div> <a data-name="-1172633888%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-1172633888%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="-1172633888%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-1172633888%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Allows to create bot using bot <a href="telegram-bot.html">urlsKeeper</a> and already prepared <a href="telegram-bot.html">client</a></div></div> <div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <a href="telegram-bot.html">telegramBot</a>(urlsKeeper: <a href="../dev.inmo.tgbotapi.utils/-telegram-a-p-i-urls-keeper/index.html">TelegramAPIUrlsKeeper</a>, noinline clientConfig: <span data-unresolved-link="io.ktor.client/HttpClientConfig///PointingToDeclaration/">HttpClientConfig</span><*>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <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> <a data-name="1091698221%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="1091698221%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="1091698221%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="1091698221%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>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></div></div> <div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <a href="telegram-bot.html">telegramBot</a>(urlsKeeper: <a href="../dev.inmo.tgbotapi.utils/-telegram-a-p-i-urls-keeper/index.html">TelegramAPIUrlsKeeper</a>, clientEngine: <span data-unresolved-link="io.ktor.client.engine/HttpClientEngine///PointingToDeclaration/">HttpClientEngine</span>, noinline clientConfig: <span data-unresolved-link="io.ktor.client/HttpClientConfig///PointingToDeclaration/">HttpClientConfig</span><*>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}): <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> <a data-name="-219681160%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-219681160%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="-219681160%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-219681160%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>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 passing <a href="telegram-bot.html">clientEngine</a> param and optionally configure <span data-unresolved-link="io.ktor.client/HttpClient///PointingToDeclaration/">HttpClient</span> using <a href="telegram-bot.html">clientConfig</a></div></div> <div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <<a href="telegram-bot.html">T</a> : <span data-unresolved-link="io.ktor.client.engine/HttpClientEngineConfig///PointingToDeclaration/">HttpClientEngineConfig</span>> <a href="telegram-bot.html">telegramBot</a>(urlsKeeper: <a href="../dev.inmo.tgbotapi.utils/-telegram-a-p-i-urls-keeper/index.html">TelegramAPIUrlsKeeper</a>, clientFactory: <span data-unresolved-link="io.ktor.client.engine/HttpClientEngineFactory///PointingToDeclaration/">HttpClientEngineFactory</span><<a href="telegram-bot.html">T</a>>, noinline clientConfig: <span data-unresolved-link="io.ktor.client/HttpClientConfig///PointingToDeclaration/">HttpClientConfig</span><<a href="telegram-bot.html">T</a>>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}): <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> <a data-name="-1014821212%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-1014821212%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="-1014821212%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-1014821212%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Allows to create bot using bot <a href="telegram-bot.html">urlsKeeper</a> and specify <span data-unresolved-link="io.ktor.client.engine/HttpClientEngineFactory///PointingToDeclaration/">HttpClientEngineFactory</span> by passing <a href="telegram-bot.html">clientFactory</a> param and optionally configure it with <a href="telegram-bot.html">clientConfig</a></div></div> <div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <a href="telegram-bot.html">telegramBot</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, client: <span data-unresolved-link="io.ktor.client/HttpClient///PointingToDeclaration/">HttpClient</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></div> </div> <a data-name="-828243585%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-828243585%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="-828243585%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-828243585%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Allows to create bot using bot <a href="telegram-bot.html">token</a>, <a href="telegram-bot.html">apiUrl</a> (for custom api servers) and already prepared <a href="telegram-bot.html">client</a></div></div> <div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <a href="telegram-bot.html">telegramBot</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, noinline clientConfig: <span data-unresolved-link="io.ktor.client/HttpClientConfig///PointingToDeclaration/">HttpClientConfig</span><*>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <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> <a data-name="446586542%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="446586542%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="446586542%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="446586542%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Allows to create bot using bot <a href="telegram-bot.html">token</a> and <a href="telegram-bot.html">apiUrl</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></div></div> <div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <a href="telegram-bot.html">telegramBot</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, clientEngine: <span data-unresolved-link="io.ktor.client.engine/HttpClientEngine///PointingToDeclaration/">HttpClientEngine</span>, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, noinline clientConfig: <span data-unresolved-link="io.ktor.client/HttpClientConfig///PointingToDeclaration/">HttpClientConfig</span><*>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}): <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> <a data-name="-517719315%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-517719315%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="brief "><a data-name="-517719315%2FFunctions%2F-1982836883" anchor-label="telegramBot" id="-517719315%2FFunctions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>Allows to create bot using bot <a href="telegram-bot.html">token</a> and specify <span data-unresolved-link="io.ktor.client.engine/HttpClientEngine///PointingToDeclaration/">HttpClientEngine</span> by passing <a href="telegram-bot.html">clientEngine</a> param and optionally configure <span data-unresolved-link="io.ktor.client/HttpClient///PointingToDeclaration/">HttpClient</span> using <a href="telegram-bot.html">clientConfig</a></div></div> <div class="divergent-group" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div> <div> <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace">inline fun <<a href="telegram-bot.html">T</a> : <span data-unresolved-link="io.ktor.client.engine/HttpClientEngineConfig///PointingToDeclaration/">HttpClientEngineConfig</span>> <a href="telegram-bot.html">telegramBot</a>(token: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, clientFactory: <span data-unresolved-link="io.ktor.client.engine/HttpClientEngineFactory///PointingToDeclaration/">HttpClientEngineFactory</span><<a href="telegram-bot.html">T</a>>, apiUrl: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = telegramBotAPIDefaultUrl, noinline clientConfig: <span data-unresolved-link="io.ktor.client/HttpClientConfig///PointingToDeclaration/">HttpClientConfig</span><<a href="telegram-bot.html">T</a>>.() -> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a> = {}): <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> </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"><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> <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> </span></span></div> <div> <div class="platform-tags "> <div class="platform-tag common-like">common</div> </div> <div class="title"> <div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><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">val <a href="default-live-period-delay-millis.html">defaultLivePeriodDelayMillis</a>: <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> </div> </div> </div> </div> </div> </div> </div> </div> <div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div> </div> </div> </body> </html>