Sending and receiving events
Sending message events
To send a new Direct Message use POST direct_messages/events/new (message_create). Optionally, you may also attach Quick Replies or media (image, GIF or video).
Receiving messages events
- You can retrieve Direct Messages from up to the past 30 days with GET direct_messages/events/list.
- Consuming Direct Messages in real-time can be accomplished via webhooks with the Account Activity API.