mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-09-07 11:16:52 +00:00
399 lines
46 KiB
HTML
399 lines
46 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
<title>ChatId</title>
|
|
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
|
|
<script>var pathToRoot = "../../../";</script>
|
|
<script>const storage = localStorage.getItem("dokka-dark-mode")
|
|
if (storage == null) {
|
|
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
if (osDarkSchemePreferred === true) {
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}
|
|
} else {
|
|
const savedDarkMode = JSON.parse(storage)
|
|
if(savedDarkMode === true) {
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}
|
|
}
|
|
</script>
|
|
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
|
|
<link href="../../../styles/style.css" rel="Stylesheet">
|
|
<link href="../../../styles/jetbrains-mono.css" rel="Stylesheet">
|
|
<link href="../../../styles/main.css" rel="Stylesheet">
|
|
<link href="../../../styles/prism.css" rel="Stylesheet">
|
|
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
|
|
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
|
|
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
|
|
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
|
|
<script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script>
|
|
<script type="text/javascript" src="../../../scripts/prism.js" async="async"></script>
|
|
<script type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
|
|
</head>
|
|
<body>
|
|
<div class="navigation-wrapper" id="navigation-wrapper">
|
|
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
|
<div class="library-name">
|
|
<a href="../../../index.html">
|
|
<span>docs</span>
|
|
</a>
|
|
</div>
|
|
<div>
|
|
4.2.3 </div>
|
|
<div class="pull-right d-flex">
|
|
<div class="filter-section" id="filter-section">
|
|
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button>
|
|
</div>
|
|
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
|
|
<div id="searchBar"></div>
|
|
</div>
|
|
</div>
|
|
<div id="container">
|
|
<div id="leftColumn">
|
|
<div id="sideMenu"></div>
|
|
</div>
|
|
<div id="main">
|
|
<div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.types/ChatId///PointingToDeclaration//-1982836883">
|
|
<div class="breadcrumbs"><a href="../../../index.html">docs</a><span class="delimiter">/</span><a href="../index.html">dev.inmo.tgbotapi.types</a><span class="delimiter">/</span><span class="current">ChatId</span></div>
|
|
<div class="cover ">
|
|
<h1 class="cover"><span>Chat</span><wbr></wbr><span><span>Id</span></span></h1>
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span><span class="token punctuation">(</span><span>with<span class="token operator"> = </span><a href="../-chat-identifier-serializer/index.html">ChatIdentifierSerializer::class</a></span><wbr></wbr><span class="token punctuation">)</span></div><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-inline/index.html"><span class="token annotation builtin">JvmInline</span></a></div></div><span class="token keyword">value </span><span class="token keyword">class </span><a href="index.html">ChatId</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>chatId<span class="token operator">: </span><a href="../index.html#92526360%2FClasslikes%2F-1982836883">Identifier</a></span></span><span class="token punctuation">)</span> : <a href="../-id-chat-identifier/index.html">IdChatIdentifier</a></div></div></div>
|
|
</div>
|
|
<div class="tabbedcontent">
|
|
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Constructors">Constructors</button><button class="section-tab" data-togglable="Properties">Properties</button><button class="section-tab" data-togglable="Extensions">Extensions</button></div>
|
|
<div class="tabs-section-body">
|
|
<h2 class="tabbedcontent">Constructors</h2>
|
|
<div class="table" data-togglable="Constructors"><a data-name="-1932501253%2FConstructors%2F-1982836883" anchor-label="ChatId" id="-1932501253%2FConstructors%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 TabbedContent">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-chat-id.html"><span>Chat</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1932501253%2FConstructors%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-chat-id.html"><span class="token function">ChatId</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chatId<span class="token operator">: </span><a href="../index.html#92526360%2FClasslikes%2F-1982836883">Identifier</a></span></span><span class="token punctuation">)</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 class="">Properties</h2>
|
|
<div class="table" data-togglable="Properties"><a data-name="252758430%2FProperties%2F-1982836883" anchor-label="chatId" id="252758430%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="chat-id.html"><span>chat</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="252758430%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="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="252758430%2FProperties%2F-1982836883" anchor-label="chatId" id="252758430%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="chat-id.html">chatId</a><span class="token operator">: </span><a href="../index.html#92526360%2FClasslikes%2F-1982836883">Identifier</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1333074421%2FProperties%2F-1982836883" anchor-label="threadId" id="1333074421%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../-id-chat-identifier/thread-id.html"><span>thread</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1333074421%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="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="1333074421%2FProperties%2F-1982836883" anchor-label="threadId" id="1333074421%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">val </span><a href="../-id-chat-identifier/thread-id.html">threadId</a><span class="token operator">: </span><a href="../index.html#790562389%2FClasslikes%2F-1982836883">MessageThreadId</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 class="tabbedcontent">Extensions</h2>
|
|
<div class="table" data-togglable="Extensions"><a data-name="-915444449%2FExtensions%2F-1982836883" anchor-label="chatIdOrNull" id="-915444449%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-or-null.html"><span>chat</span><wbr></wbr><span>Id</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Null</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-915444449%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-or-null.html"><span class="token function">chatIdOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">ChatId</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-226414130%2FExtensions%2F-1982836883" anchor-label="chatIdOrThrow" id="-226414130%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-or-throw.html"><span>chat</span><wbr></wbr><span>Id</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Throw</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-226414130%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-or-throw.html"><span class="token function">chatIdOrThrow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">ChatId</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-716578252%2FExtensions%2F-1982836883" anchor-label="chatIdWithThreadIdOrNull" id="-716578252%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-with-thread-id-or-null.html"><span>chat</span><wbr></wbr><span>Id</span><wbr></wbr><span>With</span><wbr></wbr><span>Thread</span><wbr></wbr><span>Id</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Null</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-716578252%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-with-thread-id-or-null.html"><span class="token function">chatIdWithThreadIdOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-chat-id-with-thread-id/index.html">ChatIdWithThreadId</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1643470681%2FExtensions%2F-1982836883" anchor-label="chatIdWithThreadIdOrThrow" id="1643470681%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-with-thread-id-or-throw.html"><span>chat</span><wbr></wbr><span>Id</span><wbr></wbr><span>With</span><wbr></wbr><span>Thread</span><wbr></wbr><span>Id</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Throw</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1643470681%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/chat-id-with-thread-id-or-throw.html"><span class="token function">chatIdWithThreadIdOrThrow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-chat-id-with-thread-id/index.html">ChatIdWithThreadId</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-940575114%2FExtensions%2F-1982836883" anchor-label="idChatIdentifierOrNull" id="-940575114%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/id-chat-identifier-or-null.html"><span>id</span><wbr></wbr><span>Chat</span><wbr></wbr><span>Identifier</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Null</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-940575114%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/id-chat-identifier-or-null.html"><span class="token function">idChatIdentifierOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-id-chat-identifier/index.html">IdChatIdentifier</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1005464745%2FExtensions%2F-1982836883" anchor-label="idChatIdentifierOrThrow" id="-1005464745%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/id-chat-identifier-or-throw.html"><span>id</span><wbr></wbr><span>Chat</span><wbr></wbr><span>Identifier</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Throw</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1005464745%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/id-chat-identifier-or-throw.html"><span class="token function">idChatIdentifierOrThrow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-id-chat-identifier/index.html">IdChatIdentifier</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="868196792%2FExtensions%2F-1982836883" anchor-label="ifChatId" id="868196792%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id.html"><span>if</span><wbr></wbr><span>Chat</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="868196792%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id.html">T</a><span class="token operator">> </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id.html"><span class="token function">ifChatId</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="index.html">ChatId</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id.html">T</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1745775272%2FExtensions%2F-1982836883" anchor-label="ifChatIdWithThreadId" id="-1745775272%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id-with-thread-id.html"><span>if</span><wbr></wbr><span>Chat</span><wbr></wbr><span>Id</span><wbr></wbr><span>With</span><wbr></wbr><span>Thread</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1745775272%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id-with-thread-id.html">T</a><span class="token operator">> </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id-with-thread-id.html"><span class="token function">ifChatIdWithThreadId</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="../-chat-id-with-thread-id/index.html">ChatIdWithThreadId</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id-with-thread-id.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-chat-id-with-thread-id.html">T</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-150117096%2FExtensions%2F-1982836883" anchor-label="ifIdChatIdentifier" id="-150117096%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/if-id-chat-identifier.html"><span>if</span><wbr></wbr><span>Id</span><wbr></wbr><span>Chat</span><wbr></wbr><span><span>Identifier</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-150117096%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-id-chat-identifier.html">T</a><span class="token operator">> </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-id-chat-identifier.html"><span class="token function">ifIdChatIdentifier</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="../-id-chat-identifier/index.html">IdChatIdentifier</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-id-chat-identifier.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-id-chat-identifier.html">T</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1072825256%2FExtensions%2F-1982836883" anchor-label="ifUsername" id="-1072825256%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/if-username.html"><span>if</span><wbr></wbr><span><span>Username</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1072825256%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-username.html">T</a><span class="token operator">> </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-username.html"><span class="token function">ifUsername</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="../-username/index.html">Username</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-username.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-username.html">T</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="177601805%2FExtensions%2F-1982836883" anchor-label="link" id="177601805%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils.formatting/link.html"><span><span>link</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="177601805%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="index.html">ChatId</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils.formatting/link.html"><span class="token function">link</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">threadId<span class="token operator">: </span><a href="../index.html#790562389%2FClasslikes%2F-1982836883">MessageThreadId</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="../-id-chat-identifier/index.html">IdChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils.formatting/link.html">link</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1710275167%2FExtensions%2F-1982836883" anchor-label="mention" id="-1710275167%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.types.message.textsources/mention.html"><span><span>mention</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1710275167%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../index.html#-903043045%2FClasslikes%2F-1982836883">UserId</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.types.message.textsources/mention.html"><span class="token function">mention</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">parts<span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.types.message.textsources/index.html#-1531751294%2FClasslikes%2F-1982836883">TextSourcesList</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.types.message.textsources/-text-mention-text-source/index.html">TextMentionTextSource</a></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../index.html#-903043045%2FClasslikes%2F-1982836883">UserId</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.types.message.textsources/mention.html"><span class="token function">mention</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">text<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.types.message.textsources/-text-mention-text-source/index.html">TextMentionTextSource</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="792195305%2FExtensions%2F-1982836883" anchor-label="threadId" id="792195305%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../thread-id.html"><span>thread</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="792195305%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../thread-id.html">threadId</a><span class="token operator">: </span><a href="../index.html#790562389%2FClasslikes%2F-1982836883">MessageThreadId</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="788154459%2FExtensions%2F-1982836883" anchor-label="toChatId" id="788154459%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../to-chat-id.html"><span>to</span><wbr></wbr><span>Chat</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="788154459%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../-id-chat-identifier/index.html">IdChatIdentifier</a><span class="token punctuation">.</span><a href="../to-chat-id.html"><span class="token function">toChatId</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">ChatId</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-791817202%2FExtensions%2F-1982836883" anchor-label="toChatWithThreadId" id="-791817202%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../to-chat-with-thread-id.html"><span>to</span><wbr></wbr><span>Chat</span><wbr></wbr><span>With</span><wbr></wbr><span>Thread</span><wbr></wbr><span><span>Id</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-791817202%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../-id-chat-identifier/index.html">IdChatIdentifier</a><span class="token punctuation">.</span><a href="../to-chat-with-thread-id.html"><span class="token function">toChatWithThreadId</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">threadId<span class="token operator">: </span><a href="../index.html#790562389%2FClasslikes%2F-1982836883">MessageThreadId</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-id-chat-identifier/index.html">IdChatIdentifier</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1135860805%2FExtensions%2F-1982836883" anchor-label="userLink" id="-1135860805%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../user-link.html"><span>user</span><wbr></wbr><span><span>Link</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1135860805%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="../index.html#-903043045%2FClasslikes%2F-1982836883">UserId</a><span class="token punctuation">.</span><a href="../user-link.html">userLink</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div><div class="brief "><p class="paragraph">https://core.telegram.org/bots/api#formatting-options</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1297138436%2FExtensions%2F-1982836883" anchor-label="usernameOrNull" id="-1297138436%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/username-or-null.html"><span>username</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Null</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1297138436%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/username-or-null.html"><span class="token function">usernameOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-username/index.html">Username</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="825974161%2FExtensions%2F-1982836883" anchor-label="usernameOrThrow" id="825974161%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/username-or-throw.html"><span>username</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Throw</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="825974161%2FExtensions%2F-1982836883"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/username-or-throw.html"><span class="token function">usernameOrThrow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-username/index.html">Username</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span
|
|
class="pull-right"><span>Generated by </span><a
|
|
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|