Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Сreate an ability to take surveys in DM messages as in browser version of FICE Advisor #144

Open
sifes opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels

Comments

@sifes
Copy link

sifes commented Apr 16, 2024

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"    
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants