jTelegram / jTelegramBotAPI

Java Telegram Bot API Wrapper
https://jtelegram.github.io/jTelegramBotAPI/
MIT License
20 stars 12 forks source link

Add toString to most datatypes #26

Closed nickrobson closed 6 years ago

nickrobson commented 6 years ago

This adds toString methods (using Lombok's @ToString annotation) to most datatypes. I didn't add it to user- and payment-related types, as I don't believe they should have toString() methods because they contain PII. I'll leave that up to you, @mkotb and @aaomidi .

aaomidi commented 6 years ago

As mentioned in the chat, there are three issues with not including toString on these classes.