mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Document the valid values for the "set_presence" parameter
This commit is contained in:
parent
940e22940d
commit
c115b4c2f4
|
|
@ -43,9 +43,14 @@ paths:
|
||||||
- in: query
|
- in: query
|
||||||
name: set_presence
|
name: set_presence
|
||||||
type: string
|
type: string
|
||||||
|
enum: ["offline"]
|
||||||
description: |-
|
description: |-
|
||||||
Set the presence status of this client.
|
Controls whether the client is automatically marked as online by
|
||||||
x-example: "online"
|
polling this API. If this parameter is omitted then the client is
|
||||||
|
automatically marked as online when it uses this API. Otherwise if
|
||||||
|
the parameter is set to "offline" then the client is not marked as
|
||||||
|
being online when it uses this API.
|
||||||
|
x-example: "offline"
|
||||||
- in: query
|
- in: query
|
||||||
name: timeout
|
name: timeout
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue