unpinned_item message
An item was unpinned from a channel
Facts
Required Scopes
No scopes required!
Usage info
This example includes both the event wrapper and the event structure for the unpinned_item message subtype event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"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"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
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 messageG: private group messageF: fileFc: file comments