SendAction

@Serializable
data class SendAction(val chatId: ChatIdentifier, val action: BotAction, val threadId: MessageThreadId? = chatId.threadId) : SendChatMessageRequest<Boolean> , OptionallyMessageThreadRequest

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, threadId: MessageThreadId? = chatId.threadId)

Functions

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

Properties

Link copied to clipboard
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>
Link copied to clipboard
open override val threadId: MessageThreadId?