SendAction

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
Link copied to clipboard
common
fun SendAction(chatId: ChatIdentifier, action: BotAction)

Functions

method
Link copied to clipboard
common
open override fun method(): String

Properties

action
Link copied to clipboard
common
val action: BotAction
chatId
Link copied to clipboard
common
open override val chatId: ChatIdentifier
requestSerializer
Link copied to clipboard
common
open override val requestSerializer: SerializationStrategy<*>
resultDeserializer
Link copied to clipboard
common
open override val resultDeserializer: DeserializationStrategy<Boolean>