Merge pull request #780 from mujx/missing-enum-fields

Add missing enum fields for the set_presence parameter
pull/977/head
Travis Ralston 6 years ago committed by GitHub
commit f04afaa9b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,13 +77,14 @@ paths:
- in: query
name: set_presence
type: string
enum: ["offline"]
enum: ["offline", "online", "unavailable"]
description: |-
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.
being online when it uses this API. When set to "unavailable", the
client is marked as being idle.
x-example: "offline"
- in: query
name: timeout

@ -0,0 +1 @@
Add more presence options to the ``set_presence`` parameter of ``/sync``. (Thanks @mujx!)
Loading…
Cancel
Save