pinned_item message
An item was pinned in a channel
Facts
Required Scopes
No scopes required!
Usage info
This example includes both the event wrapper and the event structure for the pinned_item message subtype event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "message",
"subtype": "pinned_item",
"user": "U123ABC456",
"item_type": "F",
"text": "<@U024BE7LH|cal> pinned their Image <https:...7.png|7.png> to this channel.",
"item": {},
"channel": "C123ABC456",
"ts": "1360782804.083113"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The pinned_item message is sent when an item is pinned to a channel.