1:when receiving event data the message_data is [Object] no JSON there
Could you please help in this why its happening when direct message received.?

direct_message_events: [
    {
      type: 'message_create',
      id: '4234325423523452',
      created_timestamp: '1609323152620',
      message_create: [Object]
    }
  ],

2: How we can get only direct messages received event instead of all events?

Thanks in advanced

1 Like

I’m not sure I understand, this is JSON syntax, why do you say “no JSON there”?

There is no way to limit the webhook responses, if you only want Direct Messages, you will simply have to ignore non-DM events.

Thanks for quick reply
I solved it

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.