Closed tuscen closed 5 years ago
What would you put in the beginner category then? Only sending and stopping polls without going into details on state updates and exceptions?
We could also mention getting the vote updates after starting a poll.
You mean adding code sample?
Yes
On May 3, 2019 10:11:26 AM UTC, Aleksey Usatov notifications@github.com wrote:
We could also mention getting the vote updates after starting a poll.
You mean adding code sample?
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/TelegramBots/book/pull/21#issuecomment-489045783
Yes
Could you elaborate on what exactly you have in mind?
We have webhooks, deprecated long polling in v14, and the new extension package for long polling. All of them are different. Or you mean complete example with storing poll state and updating it regardless of update fetching mechanism?
Good question. I can take a closer look at it tomorrow.
The beginner chapter assumes that the reader is following the simple event handling instructions to get the updates.
We don't have any examples on receiving updates in the intermediate chapter yet.
I'd suggest accepting this PR without the mentions to handling the vote updates and get back to it once we have completed the intermediate section on receiving updates.
Native polls could be on the intermediate chapter as there's a bit more to them e.g. receiving a vote update.
Most of the Beginner category is about simple one-off requests.