You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

This event is generated when a user clicks on the <action> element in a FlockML attachment or message. It can be either sent to the app service in case of sendToAppService, or appended to the URL as a query parameter FlockEvent when opening the URL in a widget or a browser via openWidget or openBrowser, respectively.

{
    "name": "client.flockmlAction",
    "userId": "u:8c67055b-202f-4ffe-a18f-1c4553a50175",
    "userName": "Alyssa P. Hacker",
    "chat": "u:1e6429de-16b7-48b3-acc0-c2d7ec5ad195",
    "chatName": "Ben Bitdiddle",
    "messageUid": "fda6144e-c925-487f-92ed-9e0956a4263c",
    "actionId": "act1"
}

Event Attributes

Attribute NameAttribute TypeAttribute Description
userIdStringId of the user who clicked on a FlockML action element
userNameStringName of the user
chatStringId of the user or group whose chat tab was open
chatNameStringName of the user or group whose chat tab is open
messageIdStringid of the message

messageUid

StringUid of the message
attachmentIdStringid of the attachment
actionIdStringid of the action that was pressed