View another event... accounts_changed app_home_opened app_mention app_rate_limited app_requested app_uninstalled bot_added bot_changed call_rejected channel_archive channel_created channel_deleted channel_history_changed channel_joined channel_left channel_marked channel_rename channel_shared channel_unarchive channel_unshared commands_changed dnd_updated dnd_updated_user email_domain_changed emoji_changed external_org_migration_finished external_org_migration_started file_change file_comment_added file_comment_deleted file_comment_edited file_created file_deleted file_public file_shared file_unshared goodbye grid_migration_finished grid_migration_started group_archive group_close group_deleted group_history_changed group_joined group_left group_marked group_open group_rename group_unarchive hello im_close im_created im_history_changed im_marked im_open invite_requested link_shared manual_presence_change member_joined_channel member_left_channel message message.app_home message.channels message.groups message.im message.mpim pin_added pin_removed pref_change presence_change presence_query presence_sub reaction_added reaction_removed reconnect_url resources_added resources_removed scope_denied scope_granted star_added star_removed subteam_created subteam_members_changed subteam_self_added subteam_self_removed subteam_updated team_domain_change team_join team_migration_started team_plan_change team_pref_change team_profile_change team_profile_delete team_profile_reorder team_rename tokens_revoked url_verification user_change user_resource_denied user_resource_granted user_resource_removed user_typing
message.mpim event A message was posted in a multiparty direct message channel
Compatibility: Events API
This example appears wrapped in the standard event wrapper used by all events delivered on the Events API .
{
"token": "one-long-verification-token",
"team_id": "T061EG9R6",
"api_app_id": "A0PNCHHK2",
"event": {
"type": "message",
"channel": "G024BE91L",
"user": "U2147483697",
"text": "Let's make a pact.",
"ts": "1355517523.000005",
"event_ts": "1355517523.000005",
"channel_type": "mpim"
},
"type": "event_callback",
"authed_teams": [
"T061EG9R6"
],
"event_id": "Ev0PV52K21",
"event_time": 1355517523
}
The semantics for this message event type are similar to the core message event sent through the RTM API. Messages often include many more fields than those shown above.
Differentiate multi-party direct messages from other message.*
events by looking for the event
's channel_type
field set to "mpim"
.
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.
Unavailable in the RTM API
This event type is compatible only with the Events API .
When using the
RTM API , the Events API's
message.channels
,
message.im
,
message.mpim
, and
message.groups
event types are presented as simple
message events instead.