Сreate an ability to take surveys in DM messages as in browser version of FICE Advisor
Opened this issue · 0 comments
sifes commented
We need to create an ability to take surveys in DM messages as in browser version of FICT Advisor.
The functionality of polls:
- Show the list of discipline teachers to start poll (as in survey page)
- Start a survey
- Implement all variants of answers (1-10, yes/no, text)
- Send an answer
To implement the described functionality, we would need endpoints:
Endpoint 1:
/v2/poll/teachers/{userId}
Add Telegram Guard
Endpoint 2:
/v2/disciplineTeachers/{disciplineTeacherId}/questions
Add Telegram Guard
Endpoint 3:
/v2/disciplineTeachers/{disciplineTeacherId}/answers
Need same endpoint with userId in body
{
"userId" : "string",
"answers": [
{
"questionId": "string",
"value": "string"
}
]
}