Skip to main content

pin_removed event

A pin was removed from a channel

Facts

Required Scopes
Compatible APIs

Usage info

This example includes both the event wrapper and the event structure for the pin_removed event.

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "pin_removed",
"user": "U024BE7LH",
"channel_id": "C02ELGNBH",
"item": {
"..."
},
"has_pins": false,
"event_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, the pin_removed event is sent to all members of that channel.

The has_pins property indicates that there are other pinned items in that channel.