0
0
Fork 0
Phantom-Ink-Online/server/docs/events/GetPastQuestions.md
2020-12-19 18:01:36 -07:00

14 lines
No EOL
553 B
Markdown

# `GetPastQuestions`:
## Description:
This event is sent from the client to the server when it has the PastQuestions component visible.
## Request Payload:
| Property | Type | Description
| -------- | ---- | -----------
| team | Integer | The team we are requesting the questions for. This can be one of `1`, or `2`, any other value will cause an error to be returned.
## Response Payload: (`PastQuestions`)
| Property | Type | Description
| -------- | ---- | -----------
| questions | String[] | All the previously chosen questions for the team.