message_replied message event

A message thread received a reply

Compatibility: RTM Events API


{
        "type": "message",
        "message": {
                "type": "message",
                "user": "U061F7TRS",
                "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": "U061F7AUR",
                                "ts": "1483037603.017503"
                        }
                ],
                "ts": "1482960137.003543"
        },
        "subtype": "message_replied",
        "hidden": true,
        "channel": "C061EG9SL",
        "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!strong> 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.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.

Was this page helpful?