2022-05-11 18:10:43 +00:00
<!DOCTYPE html>
2021-03-21 17:26:45 +00:00
< html >
2022-05-11 18:10:43 +00:00
< head >
2021-03-21 17:26:45 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" charset = "UTF-8" >
< title > SendAction< / title >
2022-05-11 18:10:43 +00:00
< link href = "../../../images/logo-icon.svg" rel = "icon" type = "image/svg" >
< script > var pathToRoot = "../../../" ; < / script >
< script > c o n s t s t o r a g e = l o c a l S t o r a g e . g e t I t e m ( " d o k k a - d a r k - m o d e " )
2022-01-01 21:40:22 +00:00
const savedDarkMode = storage ? JSON.parse(storage) : false
if(savedDarkMode === true){
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}< / script >
2022-05-11 18:10:43 +00:00
< script type = "text/javascript" src = "../../../scripts/sourceset_dependencies.js" async = "async" > < / script >
< link href = "../../../styles/style.css" rel = "Stylesheet" >
< link href = "../../../styles/jetbrains-mono.css" rel = "Stylesheet" >
< link href = "../../../styles/main.css" rel = "Stylesheet" >
< link href = "../../../styles/prism.css" rel = "Stylesheet" >
< link href = "../../../styles/logo-styles.css" rel = "Stylesheet" >
< script type = "text/javascript" src = "../../../scripts/clipboard.js" async = "async" > < / script >
< script type = "text/javascript" src = "../../../scripts/navigation-loader.js" async = "async" > < / script >
< script type = "text/javascript" src = "../../../scripts/platform-content-handler.js" async = "async" > < / script >
< script type = "text/javascript" src = "../../../scripts/main.js" defer = "defer" > < / script >
< script type = "text/javascript" src = "../../../scripts/prism.js" async = "async" > < / script >
< / head >
< body >
< div class = "navigation-wrapper" id = "navigation-wrapper" >
< div id = "leftToggler" > < span class = "icon-toggler" > < / span > < / div >
< div class = "library-name" >
< a href = "../../../index.html" >
< span > docs< / span >
< / a >
< / div >
< div >
2022-07-31 13:33:11 +00:00
2.2.2 < / div >
2022-05-11 18:10:43 +00:00
< div class = "pull-right d-flex" >
< div class = "filter-section" id = "filter-section" >
< button class = "platform-tag platform-selector common-like" data-active = "" data-filter = ":docs:dokkaHtml/commonMain" > common< / button >
< / div >
< button id = "theme-toggle-button" > < span id = "theme-toggle" > < / span > < / button >
2022-01-01 21:40:22 +00:00
< div id = "searchBar" > < / div >
< / div >
2022-05-11 18:10:43 +00:00
< / div >
< div id = "container" >
< div id = "leftColumn" >
2021-03-21 17:26:45 +00:00
< div id = "sideMenu" > < / div >
2022-05-11 18:10:43 +00:00
< / div >
< div id = "main" >
< div class = "main-content" id = "content" pageIds = "docs::dev.inmo.tgbotapi.requests.send/SendAction///PointingToDeclaration//-1982836883" >
< div class = "breadcrumbs" > < a href = "../../../index.html" > docs< / a > < span class = "delimiter" > /< / span > < a href = "../index.html" > dev.inmo.tgbotapi.requests.send< / a > < span class = "delimiter" > /< / span > < a href = "index.html" > SendAction< / a > < / div >
< div class = "cover " >
< h1 class = "cover" > < span > Send< / span > < wbr > < / wbr > < span > < span > Action< / span > < / span > < / h1 >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" data-active = "" data-toggle = ":docs:dokkaHtml/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":docs:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > data < / span > < span class = "token keyword" > class < / span > < a href = "index.html" > SendAction< / 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 = "../../dev.inmo.tgbotapi.types/-chat-identifier/index.html" > ChatIdentifier< / a > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > < span class = "token keyword" > val < / span > action< span class = "token operator" > : < / span > < a href = "../../dev.inmo.tgbotapi.types.actions/-bot-action/index.html" > BotAction< / a > < / span > < / span > < span class = "token punctuation" > )< / span > : < a href = "../../dev.inmo.tgbotapi.requests.send.abstracts/-send-chat-message-request/index.html" > SendChatMessageRequest< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < p class = "paragraph" > Send notification to user which will be shown for 5 seconds or while user have no messages from bot< / p > < / 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 = "Functions" > Functions< / button > < button class = "section-tab" data-togglable = "Properties" > Properties< / button > < / div >
< div class = "tabs-section-body" >
< h2 class = "tabbedcontent" > Constructors< / h2 >
< div class = "table" data-togglable = "Constructors" > < a data-name = "1341185243%2FConstructors%2F-1982836883" anchor-label = "SendAction" id = "1341185243%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 = "-send-action.html" > < span > Send< / span > < wbr > < / wbr > < span > < span > Action< / span > < / span > < / a > < / div >
2022-01-14 10:54:38 +00:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1341185243%2FConstructors%2F-1982836883" > < / span >
2022-05-11 18:10:43 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" data-active = "" data-toggle = ":docs:dokkaHtml/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":docs:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "-send-action.html" > < span class = "token function" > SendAction< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > chatId< span class = "token operator" > : < / span > < a href = "../../dev.inmo.tgbotapi.types/-chat-identifier/index.html" > ChatIdentifier< / a > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > action< span class = "token operator" > : < / span > < a href = "../../dev.inmo.tgbotapi.types.actions/-bot-action/index.html" > BotAction< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
2021-03-21 17:26:45 +00:00
< / div >
2022-05-11 18:10:43 +00:00
< / div >
< / div >
< / div >
< / div >
< h2 class = "" > Functions< / h2 >
< div class = "table" data-togglable = "Functions" > < a data-name = "-644790846%2FFunctions%2F-1982836883" anchor-label = "method" id = "-644790846%2FFunctions%2F-1982836883" data-filterable-set = ":docs:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "method.html" > < span > < span > method< / span > < / span > < / a > < / div >
2022-01-14 10:54:38 +00:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-644790846%2FFunctions%2F-1982836883" > < / span >
2022-05-11 18:10:43 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" data-active = "" data-toggle = ":docs:dokkaHtml/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":docs:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > override < / span > < span class = "token keyword" > fun < / span > < a href = "method.html" > < span class = "token function" > method< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html" > String< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
2021-03-21 17:26:45 +00:00
< / div >
2022-05-11 18:10:43 +00:00
< / div >
< / div >
< / div >
< / div >
< h2 class = "" > Properties< / h2 >
< div class = "table" data-togglable = "Properties" > < a data-name = "-526593523%2FProperties%2F-1982836883" anchor-label = "action" id = "-526593523%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 = "action.html" > action< / a > < / div >
2022-01-14 10:54:38 +00:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-526593523%2FProperties%2F-1982836883" > < / span >
2022-05-11 18:10:43 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" data-active = "" data-toggle = ":docs:dokkaHtml/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":docs:dokkaHtml/commonMain" > < a data-name = "-526593523%2FProperties%2F-1982836883" anchor-label = "action" id = "-526593523%2FProperties%2F-1982836883" data-filterable-set = ":docs:dokkaHtml/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "action.html" > action< / a > < span class = "token operator" > : < / span > < a href = "../../dev.inmo.tgbotapi.types.actions/-bot-action/index.html" > BotAction< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
2021-04-30 04:00:18 +00:00
< a data-name = "-1051370416%2FProperties%2F-1982836883" anchor-label = "chatId" id = "-1051370416%2FProperties%2F-1982836883" data-filterable-set = ":docs:dokkaHtml/commonMain" > < / a >
2022-05-11 18:10:43 +00:00
< div class = "table-row" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "chat-id.html" > chatId< / a > < / div >
2022-01-14 10:54:38 +00:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1051370416%2FProperties%2F-1982836883" > < / span >
2022-05-11 18:10:43 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" data-active = "" data-toggle = ":docs:dokkaHtml/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":docs:dokkaHtml/commonMain" > < a data-name = "-1051370416%2FProperties%2F-1982836883" anchor-label = "chatId" id = "-1051370416%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 = "../../dev.inmo.tgbotapi.types/-chat-identifier/index.html" > ChatIdentifier< / a > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
2021-04-30 04:00:18 +00:00
< a data-name = "-1369035306%2FProperties%2F-1982836883" anchor-label = "requestSerializer" id = "-1369035306%2FProperties%2F-1982836883" data-filterable-set = ":docs:dokkaHtml/commonMain" > < / a >
2022-05-11 18:10:43 +00:00
< div class = "table-row" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "request-serializer.html" > requestSerializer< / a > < / div >
2022-01-14 10:54:38 +00:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1369035306%2FProperties%2F-1982836883" > < / span >
2022-05-11 18:10:43 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" data-active = "" data-toggle = ":docs:dokkaHtml/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":docs:dokkaHtml/commonMain" > < a data-name = "-1369035306%2FProperties%2F-1982836883" anchor-label = "requestSerializer" id = "-1369035306%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 = "request-serializer.html" > requestSerializer< / a > < span class = "token operator" > : < / span > < span data-unresolved-link = "kotlinx.serialization/SerializationStrategy///PointingToDeclaration/" > SerializationStrategy< / span > < span class = "token operator" > < < / span > < span class = "token operator" > *< / span > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
2021-04-30 04:00:18 +00:00
< a data-name = "1502184179%2FProperties%2F-1982836883" anchor-label = "resultDeserializer" id = "1502184179%2FProperties%2F-1982836883" data-filterable-set = ":docs:dokkaHtml/commonMain" > < / a >
2022-05-11 18:10:43 +00:00
< div class = "table-row" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "result-deserializer.html" > resultDeserializer< / a > < / div >
2022-01-14 10:54:38 +00:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1502184179%2FProperties%2F-1982836883" > < / span >
2022-05-11 18:10:43 +00:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":docs:dokkaHtml/commonMain" data-filterable-set = ":docs:dokkaHtml/commonMain" data-active = "" data-toggle = ":docs:dokkaHtml/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":docs:dokkaHtml/commonMain" > < a data-name = "1502184179%2FProperties%2F-1982836883" anchor-label = "resultDeserializer" id = "1502184179%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 = "result-deserializer.html" > resultDeserializer< / a > < span class = "token operator" > : < / span > < span data-unresolved-link = "kotlinx.serialization/DeserializationStrategy///PointingToDeclaration/" > DeserializationStrategy< / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < span class = "token operator" > > < / span > < span class = "top-right-position" > < span class = "copy-icon" > < / span > < div class = "copy-popup-wrapper popup-to-left" > < span class = "copy-popup-icon" > < / span > < span > Content copied to clipboard< / span > < / div > < / span > < / div > < / div > < / div >
2021-03-21 17:26:45 +00:00
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
2022-05-11 18:10:43 +00:00
< / div >
< / div >
< div class = "footer" > < span class = "go-to-top-icon" > < a href = "#content" id = "go-to-top-link" > < / a > < / span > < span > © 2022 Copyright< / span > < span
class="pull-right">< span > Generated by < / span > < a
href="https://github.com/Kotlin/dokka">< span > dokka< / span > < span class = "padded-icon" > < / span > < / a > < / span >
< / div >
< / div >
< / div >
< / body >
2021-03-21 17:26:45 +00:00
< / html >