mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-16 00:14:09 +01:00
txn_id field in events is called transaction_id
This commit is contained in:
parent
b41d771c15
commit
8316881393
|
|
@ -43,7 +43,7 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Optional. The event_id of the previous event for this state. This will be present only for state events appearing in the ``timeline``. If this is not a state event, or there is no previous content, this key will be missing."
|
"description": "Optional. The event_id of the previous event for this state. This will be present only for state events appearing in the ``timeline``. If this is not a state event, or there is no previous content, this key will be missing."
|
||||||
},
|
},
|
||||||
"txn_id": {
|
"transaction_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Optional. The transaction ID set when this message was sent. This key will only be present for message events sent by the device calling this API."
|
"description": "Optional. The transaction ID set when this message was sent. This key will only be present for message events sent by the device calling this API."
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -253,7 +253,7 @@ paths:
|
||||||
"$74686972643033:example.com": {
|
"$74686972643033:example.com": {
|
||||||
"sender": "@alice:example.com",
|
"sender": "@alice:example.com",
|
||||||
"type": "m.room.message",
|
"type": "m.room.message",
|
||||||
"unsigned": {"age": 124524, "txn_id": "1234"},
|
"unsigned": {"age": 124524, "transaction_id": "1234"},
|
||||||
"content": {
|
"content": {
|
||||||
"body": "I am a fish",
|
"body": "I am a fish",
|
||||||
"msgtype": "m.text"
|
"msgtype": "m.text"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue