SendAction

data class SendAction(val chatId: ChatIdentifier, val action: BotAction) : SendChatMessageRequest<Boolean>

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

Constructors

Link copied to clipboard
fun SendAction(chatId: ChatIdentifier, action: BotAction)

Functions

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

Properties

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