Skip to content

Commit

Permalink
Expose transaction ID in GET response
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Jul 25, 2024
1 parent 114da1e commit 772590f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proposals/4140-delayed-events-futures.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ The response is a JSON object containing the following fields:
- `room_id` - Required. The room ID of the delayed event.
- `type` - Required. The event type of the delayed event.
- `state_key` - Optional. The state key of the delayed event if it is a state event.
- `transaction_id` - Optional. The transaction ID of the delayed event if it is a regular (non-state) event.
- `delay` - Required. The delay in milliseconds before the event is sent.
- `running_since` - Required. The timestamp (as unix time in milliseconds) when the delayed event was scheduled or
last restarted.
Expand All @@ -217,6 +218,7 @@ Content-Type: application/json
"type": "m.room.message",
"delay": 15000,
"running_since": 1721732853284,
"transaction_id": "abcdefgh",
"content":{
"msgtype": "m.text",
"body": "I am now offline"
Expand Down

0 comments on commit 772590f

Please sign in to comment.