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.

Hi @Tyler, @fn7; I’m dealing with the same issue and I don’t fully understand why Tylers reply is marked as a solution. The reaction_add webhook still lacks a the parent message or at least a parent ID right?

Any updates from the dev team? We are struggling with the same issue. It would be ideal if the payload or at least the parent id of the parent message is included in one of the webhooks.

Our workaround is to add this data in the reply-message as custom data, but it doesn’t feel right to solve this at our end.

Our workaround is to add this data in the reply-message as custom data, but it doesn’t feel right to solve this at our end.

This is what we’re doing also. It’s definitely not the best solution, but it gets the job done until the Sendbird team decides to provide it.

I marked it as a solution, not because it “solves” the problem so to speak, but because it answers the question.