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
fun SendAction(chatId: ChatIdentifier, action: BotAction)

Functions

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

Properties

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