channel_leave message event

A message was sent to a channel

Compatibility: RTM Events API


{
    "type": "message",
    "subtype": "channel_leave",
    "ts": "1358877455.000010",
    "user": "U2147483828",
    "text": "<@U2147483828|cal> has left the channel"
}

A channel_leave message is sent when a member of a channel leaves that channel.

If you prefer a more atomic event, use member_left_channel instead. Consult the changelog for further guidance.

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?