Skip to content
Discussion options

You must be logged in to vote

No. Homework is text, and nothing can upload a file.

  • In the bot, the assignment step takes a text message. If you send a photo or a file there, the bot answers «Пустое задание. Пришлите текст:».
  • The homework record has an attachment_url field, and the API accepts a link in it (PUT /api/v1/homework). Neither the bot nor the app ever fills it. A link set through the API shows in the app as a «Вложение» label that does not open. Neither the bot nor the calendar feed shows that link.
  • What works today: put a link to a file stored elsewhere into the assignment's text.

#123 says why attachments are not built and the shape they would most likely take. README, Honest status also lists the gap.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:bot for:admin Whoever keeps a class in the bot: members, the timetable, bells, homework, the school year
1 participant