Commit d82135f 1 parent 434f1b0 commit d82135f Copy full SHA for d82135f
File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,18 @@ paths:
74
74
required : true
75
75
schema :
76
76
type : object
77
+ properties :
78
+ thread_id :
79
+ type : string
80
+ x-addedInMatrixVersion : " 1.4"
81
+ description : |-
82
+ The root thread event's ID (or `main`) for which
83
+ thread this receipt is intended to be under. If
84
+ not specified, the read receipt is *unthreaded*
85
+ (default).
77
86
example : {
78
- }
87
+ " thread_id " : " main"
88
+ }
79
89
responses :
80
90
200 :
81
91
description : The receipt was sent.
@@ -88,5 +98,17 @@ paths:
88
98
description : This request was rate-limited.
89
99
schema :
90
100
" $ref " : " definitions/errors/rate_limited.yaml"
101
+ 400 :
102
+ description : |-
103
+ The `thread_id is not a string, or is empty, or it is provided for
104
+ a receipt of type `m.fully_read`, or the `event_id` is not related
105
+ to the `thread_id`.
106
+ schema :
107
+ $ref : " definitions/errors/error.yaml"
108
+ examples :
109
+ application/json : {
110
+ " errcode " : " M_INVALID_PARAM" ,
111
+ " error " : " thread_id field must be a non-empty string"
112
+ }
91
113
tags :
92
114
- Room participation
You can’t perform that action at this time.
0 commit comments