message_metadata_deleted event

Message metadata was deleted

Facts

Required scopes

Works with

Events API
{
    "type": "message_metadata_deleted",
    "channel_id": "CJN879K8A",
    "event_ts": "1658907498.002500",
    "previous_metadata":
    {
        "event_type": "task_created",
        "event_payload":
        {
            "id": "TK-2135",
            "summary": "New issue with the display of mobile element",
            "description": "An end user has found a problem with the new mobile container for data entry. It was reproduced in the current version of IOS.",
            "priority": "HIGH",
            "resource_type": "TASK"
        }
    },
    "app_id": "AQF4F123M",
    "bot_id": "B8241P2B34D",
    "user_id": "UA8829BFL",
    "team_id": "T12F3JCAP",
    "message_ts": "1658905974.587109",
    "deleted_ts": "1658907498.002500"
}

The message_metadata_deleted event is sent when a message's metadata has been deleted. Within the payload there will be a previous_metadata section notifying you of what has been deleted.

Similar to message_metadata_posted and message_metadata_updated, your app will only subscribe to the event types defined within the metadata_subscriptions key within your app's manifest file (in this example, the task_created event). For more information about this, check out the metadata documentation.

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