This event is generated when a user presses a button.
|Attribute Name||Attribute Type||Attribute Description|
The button that was pressed. This should have any one of the following values:
|String||Name of the user|
|String||Id of the user or group whose chat tab is open|
|String||Name of the user or group whose chat tab is open|
uid of the message in which the attachment button was pressed. Available only for an attachment button.
|String||id of the attachment, if provided. Available only for an attachment button.|
|String||Button identifier. Only sent for an attachment buttons, use it to distinguish one attachment button from another.|
Your app can respond with a
text value – this should be a short (upto 100 chars) string that is displayed to the user who pressed the button.