1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-03-05 10:22:24 +00:00
This commit is contained in:
InsanusMokrassar
2025-11-23 11:52:11 +00:00
parent 1e003ef866
commit edb4b9ba27
83 changed files with 6925 additions and 6761 deletions

View File

@@ -155,7 +155,7 @@
</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=":tgbotapi.core:dokkaHtmlPartial/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></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-set-webhook/index.html">SetWebhook</a> : <a href="-set-webhook-request/index.html">SetWebhookRequest</a>, <a href="../dev.inmo.tgbotapi.requests.send.media.base/-data-request/index.html">DataRequest</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized Update.</p></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":tgbotapi.core:dokkaHtmlPartial/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></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="-set-webhook/index.html">SetWebhook</a> : <a href="-set-webhook-request/index.html">SetWebhookRequest</a>, <a href="../dev.inmo.tgbotapi.requests.send.media.base/-data-request/index.html">DataRequest</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">Represents a request for setting a webhook in Telegram's Bot API. A webhook allows Telegram to send updates directly to the bot via an HTTPS POST request to the provided URL, enabling real-time interaction.</p></div></div></div>
</div>
</div>
</div>