Two questions concerning the webhook API (missing fields)

We haven’t fully decided to use SendBird SDK, so we aren’t able to test for now.

  1. Does group_channel:reaction-add have a messageId payload?

According to the docs it doesn’t seem like there is a messageId field for the added reaction, which is very weird. There’s very little you can do without it, so I’m wondering if it’s just neglected from the document. Please let me know.

  1. Does group_channel:message_send have a parent_message_id field in the payload?

Since the SDK does support message threading, it would be very helpful to have the parent message info in the payload of the event.

Hi @fn7,

It looks like our documentation for group_channel:reaction_add` needs to be updated (I’ve asked out team to update it). Here is an actual body from a webhook I personally received:

{
  "category": "group_channel:reaction_add",
  "reaction": "+1",
  "user": {
    "nickname": "testUser01",
    "user_id": "testUser01",
    "profile_url": ""
  },
  "message": {
    "sender_id": "Admin",
    "message_id": 1809903280
  },
  "app_id": "33A8FF26-91AA-469F-B364-759BE8FF8891",
  "channel": {
    "is_super": false,
    "is_distinct": false,
    "name": "testChannel02",
    "custom_type": "",
    "is_ephemeral": false,
    "data": "",
    "channel_url": "sendbird_group_channel_71815291_7b4c6144e9334abee93efeda3f058ded6543ca99",
    "is_discoverable": false,
    "is_public": false
  },
  "ts": 1651454340014
}

group_channel:message_send does not currently include the parent_message_id

1 Like

Hi @Tyler. Thanks for the reply.

Do you know if there are any plans to include thread info in the webhook body? Or possibly a new event altogether?

Hi @fn7,

As far as I know, we do not but let me double check with our Engineering team.

1 Like

Thank you so much. Greatly appreciate it.