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
|
||||
name: set_presence
|
||||
type: string
|
||||
enum: ["offline"]
|
||||
description: |-
|
||||
Set the presence status of this client.
|
||||
x-example: "online"
|
||||
Controls whether the client is automatically marked as online by
|
||||
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
|
||||
name: timeout
|
||||
type: integer
|
||||
|
|
|
|||
Loading…
Reference in a new issue