channel_join message event

A message was sent to a channel

Compatibility: RTM Events API


{
    "type": "message",
    "subtype": "channel_join",
    "ts": "1358877458.000011",
    "user": "U2147483828",
    "text": "<@U2147483828|cal> has joined the channel",
    "inviter": "U123456789"
}

The channel_join event is sometimes sent to all connections for a user when that user leaves a channel. It is sometimes withheld.

If the user was invited, the message will include an inviter property containing the user ID of the inviting user. The property will otherwise be absent.

If you prefer a more atomic event, use member_joined_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?