Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 2.3 KB

V1_wwsg_Reactions.md

File metadata and controls

35 lines (27 loc) · 2.3 KB
copyright link is
Copyright IBM Corp. 2018
reactions-overview
published

Reactions Overview

Watson Work Services provides a set of reaction APIs for callers to interact with messages, adding and removing reactions associated with a message.

Reaction APIs allow for the association of "reactions" to objects such as "messages". A "reaction" is represented simply by a String. The Workspace application utilizes a particular set of emojis to represent the reactions. This separation of emoji from reactions allow for future implementations and for other clients to choose different set of emojis or their own custom set of Strings.

Image

Reactions are a quick way to respond to someone’s message. The caller can select any reaction (string/emoji) of their preference, and associate it with a message. The message object will optionally retrieve all the reactions to a message, returning each reaction (string/emoji), the current number (count) of reactors for each of those reactions and if the caller has already reacted or not (viewerHasReacted). Separately, the caller can get a paginated list of users who reacted with a specific reaction.

External APIs