message_replied message event

A message was sent to a channel

Facts

Works with

RTMEvents API
{
        "type": "message",
        "message": {
                "type": "message",
                "user": "U123ABC456",
                "text": "Was there was there was there what was there was there what was there was there there was there.",
                "thread_ts": "1482960137.003543",
                "reply_count": 1,
                "replies": [
                        {
                                "user": "U2222222",
                                "ts": "1483037603.017503"
                        }
                ],
                "ts": "1482960137.003543"
        },
        "subtype": "message_replied",
        "hidden": true,
        "channel": "C123ABC456",
        "event_ts": "1483037604.017506",
        "ts": "1483037604.017506"
}

A message_replied message is sent when a channel's message is a reply to another message (its parent). The message's thread_ts value indicates the parent message.

Bug alert! This event is missing the subtype field when dispatched over the Events API. Until it is fixed, examine message events' thread_ts value. When present, it's a reply. To be doubly sure, compare a thread_ts to the top-level ts value, when they differ the latter is a reply to the former.

See message threading for more information.

When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more