Send Typing Indicator: /presence/typing/ (POST)

Purpose:

Send a typing indicator to a channel/user.

Input:

  • Headers:
    • Content-Type: application/json
    • Authorization: The JWT token of the user.
  • JSON Body:
    • recipient_type: (String) The type of the recipient. Set to “CHANNEL” if sending to a channel, or “USER” if sending to a user.
    • reference_id: (Uuid) This should be the user or channel id based on the recipient type.

Output (200):

{
  "message_type": "TYPING",
  "recipient_type": "CHANNEL",
  "reference_id": "612b8869-3ee9-44be-a390-286717e29a87",
  "user_id": "bfbcd1b3-fd3f-4b10-b517-e4d3d361a0c8"
}