Open sifes opened 5 months ago
We need to create an ability to take surveys in DM messages as in browser version of FICT Advisor.
The functionality of polls:
Endpoint 1: /v2/poll/teachers/{userId} Add Telegram Guard
/v2/poll/teachers/{userId}
Endpoint 2: /v2/disciplineTeachers/{disciplineTeacherId}/questions Add Telegram Guard
/v2/disciplineTeachers/{disciplineTeacherId}/questions
Endpoint 3: /v2/disciplineTeachers/{disciplineTeacherId}/answers Need same endpoint with userId in body
/v2/disciplineTeachers/{disciplineTeacherId}/answers
{ "userId" : "string", "answers": [ { "questionId": "string", "value": "string" } ] }
We need to create an ability to take surveys in DM messages as in browser version of FICT Advisor.
The functionality of polls:
To implement the described functionality, we would need endpoints:
Endpoint 1:
/v2/poll/teachers/{userId}
Add Telegram GuardEndpoint 2:
/v2/disciplineTeachers/{disciplineTeacherId}/questions
Add Telegram GuardEndpoint 3:
/v2/disciplineTeachers/{disciplineTeacherId}/answers
Need same endpoint with userId in body