1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-27 12:38:45 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.requests.send/-send-action/index.md
2021-03-17 15:18:37 +00:00

36 lines
3.1 KiB
Markdown

//[docs](../../../index.md)/[dev.inmo.tgbotapi.requests.send](../index.md)/[SendAction](index.md)
# SendAction
[common] data class [SendAction](index.md)(**chatId**: [ChatIdentifier](../../dev.inmo.tgbotapi.types/-chat-identifier/index.md), **action**: [BotAction](../../dev.inmo.tgbotapi.types.actions/-bot-action/index.md)) : [SendChatMessageRequest](../../dev.inmo.tgbotapi.requests.send.abstracts/-send-chat-message-request/index.md)<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)>
Send notification to user which will be shown for 5 seconds or while user have no messages from bot
## Constructors
| | |
|---|---|
| <a name="dev.inmo.tgbotapi.requests.send/SendAction/SendAction/#dev.inmo.tgbotapi.types.ChatIdentifier#dev.inmo.tgbotapi.types.actions.BotAction/PointingToDeclaration/"></a>[SendAction](-send-action.md)| <a name="dev.inmo.tgbotapi.requests.send/SendAction/SendAction/#dev.inmo.tgbotapi.types.ChatIdentifier#dev.inmo.tgbotapi.types.actions.BotAction/PointingToDeclaration/"></a> [common] fun [SendAction](-send-action.md)(chatId: [ChatIdentifier](../../dev.inmo.tgbotapi.types/-chat-identifier/index.md), action: [BotAction](../../dev.inmo.tgbotapi.types.actions/-bot-action/index.md)) <br>|
## Functions
| Name | Summary |
|---|---|
| <a name="dev.inmo.tgbotapi.requests.send/SendAction/method/#/PointingToDeclaration/"></a>[method](method.md)| <a name="dev.inmo.tgbotapi.requests.send/SendAction/method/#/PointingToDeclaration/"></a>[common] <br>Content <br>open override fun [method](method.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) <br><br><br>|
## Properties
| Name | Summary |
|---|---|
| <a name="dev.inmo.tgbotapi.requests.send/SendAction/action/#/PointingToDeclaration/"></a>[action](action.md)| <a name="dev.inmo.tgbotapi.requests.send/SendAction/action/#/PointingToDeclaration/"></a> [common] val [action](action.md): [BotAction](../../dev.inmo.tgbotapi.types.actions/-bot-action/index.md) <br>|
| <a name="dev.inmo.tgbotapi.requests.send/SendAction/chatId/#/PointingToDeclaration/"></a>[chatId](chat-id.md)| <a name="dev.inmo.tgbotapi.requests.send/SendAction/chatId/#/PointingToDeclaration/"></a> [common] open override val [chatId](chat-id.md): [ChatIdentifier](../../dev.inmo.tgbotapi.types/-chat-identifier/index.md) <br>|
| <a name="dev.inmo.tgbotapi.requests.send/SendAction/requestSerializer/#/PointingToDeclaration/"></a>[requestSerializer](request-serializer.md)| <a name="dev.inmo.tgbotapi.requests.send/SendAction/requestSerializer/#/PointingToDeclaration/"></a> [common] open override val [requestSerializer](request-serializer.md): <*> <br>|
| <a name="dev.inmo.tgbotapi.requests.send/SendAction/resultDeserializer/#/PointingToDeclaration/"></a>[resultDeserializer](result-deserializer.md)| <a name="dev.inmo.tgbotapi.requests.send/SendAction/resultDeserializer/#/PointingToDeclaration/"></a> [common] open override val [resultDeserializer](result-deserializer.md): <[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)> <br>|