SendAction
data class SendAction(val chatId: ChatIdentifier, val action: BotAction, val threadId: MessageThreadId? = chatId.threadId, val businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId) : SendChatMessageRequest<Unit> , OptionallyMessageThreadRequest, OptionallyBusinessConnectionRequest
Send notification to user which will be shown for 5 seconds or while user have no messages from bot
Constructors
Link copied to clipboard
constructor(chatId: ChatIdentifier, action: BotAction, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId)