mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-12-22 19:45:33 +00:00
RPC SET_ACTIVITY payload documentation fixes
* `pid` is a mandatory field of your application's process id * `data` -> `args`
This commit is contained in:
parent
9b07431476
commit
0144c8200c
|
@ -20,10 +20,11 @@ The one major difference is the `party.size` field. It is an array with a size o
|
|||
|
||||
Below is a full example of a `SET_ACTIVITY` command. Field restrictions like size are the same as outlined in the main documentation.
|
||||
|
||||
```json
|
||||
```
|
||||
{
|
||||
"cmd": "SET_ACTIVITY",
|
||||
"data": {
|
||||
"args": {
|
||||
"pid": 9999, // Your application's process id - required field
|
||||
"activity": {
|
||||
"state": "In a Group",
|
||||
"details": "Competitive | In a Match",
|
||||
|
|
Loading…
Reference in a new issue