A message was sent to a channel

Facts

Works with

RTMEvents API
{
	"type": "message",
	"subtype": "unpinned_item",
	"user": "USLACKBOT",
	"item_type": "G",
	"text": "<@U024BE7LH|cal> unpinned the message you pinned to the secretplans group.",
	"item": {
		…
	},
	"channel": "G024BE91L",
	"ts": "1360782804.083113"
}

When an item is un-pinned from a channel, an unpinned_item message is sent via slackbot to the user that initially pinned the item. The message will only be sent if the item was un-pinned by a different user.

Valid item_type values include:

  • C: channel message
  • G: private group message
  • F: file
  • Fc: file comments

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