product:chat

Undelete message

Undelete a message that was previously soft-deleted

Sends events:

  • message.undeleted
post/messages/{id}/undelete

Path parameters

idstring required

Message ID

Request body

undeleted_bystring required

ID of the user who is undeleting the message

Response

Response

durationstring required

Duration of the request in milliseconds

Example response

{
  "message": {
    "draft": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    },
    "reminder": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    },
    "shared_location": {
      "channel": {
        "config": {
          "partition_ttl": "24h"
        }
      }
    }
  }
}

Changes