Next steps to take
What do you think would be good to implement here?
Let's discuss and prioritize them to see what is going to be in the next release.
I'm thinking of more exception types that inherit from ApiException.
Almost all of the 404 responses have a reason in the format of Bad Request: EXCEPTION_TYPE.
Using integ tests, we can find them all. example here
I created @tgbots_dotnet chat on Telegram. Feel free to join.
Overriding ToString() on Update, Message, and other types helps a lot with creating meaningful logs. e.g:
// when update.Type is MessageUpdate and is a forwarded message:
"MessageUpdate from 1234567 in chat -987654 on Aug 27, 2017 12:34. Forwarded message from 654321 in chat -789012 on Aug 5, 2017 5:06."
We might be able to use Selenium for e2e testing. It can be used on the tg web client to perform the actions required for interactive testing.
It can add a huge benefit to our build and release process.
Add messages.getAllChats and API channel