Skip to main content
Version: v2

messageAction

Update type - interactive user action on a message

workspaceIdstringrequired

ID of the workspace the message belongs to

Example: AIQffAsGi8
chatIdstringrequired

ID of the chat the message belongs to

Example: w:AIQffAsGi8
messageIdstringrequired

Message ID

Example: gIQffAsGi8
pressedButtonCommand object

Command of the button that was pressed

displayTextstringrequired

Text on the button

Example: Press the button
commandKeystringrequired

Command sent when the button is pressed

Example: /button_pushed
messageAction
{
"workspaceId": "AIQffAsGi8",
"chatId": "w:AIQffAsGi8",
"messageId": "gIQffAsGi8",
"pressedButtonCommand": {
"displayText": "Press the button",
"commandKey": "/button_pushed"
}
}