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

3.1 KiB

//docs/dev.inmo.tgbotapi.requests.send/SendAction

SendAction

[common] data class SendAction(chatId: ChatIdentifier, action: BotAction) : SendChatMessageRequest<Boolean>

Send notification to user which will be shown for 5 seconds or while user have no messages from bot

Constructors

SendAction [common] fun SendAction(chatId: ChatIdentifier, action: BotAction)

Functions

Name Summary
method [common]
Content
open override fun method(): String


Properties

Name Summary
action [common] val action: BotAction
chatId [common] open override val chatId: ChatIdentifier
requestSerializer [common] open override val requestSerializer: <*>
resultDeserializer [common] open override val resultDeserializer: <Boolean>