Update the response event for SendCard
This commit is contained in:
parent
d5235942db
commit
ebfc1f5855
1 changed files with 8 additions and 1 deletions
|
|
@ -116,7 +116,14 @@ Sends a card to the server, the server either then either forwards the card to t
|
||||||
| from | String | The source of where the card is being sent from. This can be one of `"writer"`, `"guesser"`, any other value will return an error.
|
| from | String | The source of where the card is being sent from. This can be one of `"writer"`, `"guesser"`, any other value will return an error.
|
||||||
| team | Integer | The team that is sending the card. This can be either `1` or `2`, any other value will return an error.
|
| team | Integer | The team that is sending the card. This can be either `1` or `2`, any other value will return an error.
|
||||||
|
|
||||||
## Response Payload: (`NewCard`)
|
## Response Payload: (`NewCards`)
|
||||||
|
| Property | Type | Description
|
||||||
|
| -------- | ---- | -----------
|
||||||
|
| cards | String[] | The text of the cards that was sent.
|
||||||
|
| from | String | The source of the card(s). This will be one of `"deck"`, or `"guesser"`
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
---
|
||||||
| Property | Type | Description
|
| Property | Type | Description
|
||||||
| -------- | ---- | -----------
|
| -------- | ---- | -----------
|
||||||
| text | String | The text of the card that was sent.
|
| text | String | The text of the card that was sent.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue