Skip to content

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

Description

@sifes

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"    
    }
  ]
}

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions