reefstah / TelegramBotAPI

A Java 8 implementation of Telegram's bot API.
MIT License
8 stars 1 forks source link

Make all fields follow the Java guidelines #7

Open reefstah opened 9 years ago

reefstah commented 9 years ago

The fields of the models and methods are in the current situation pretty ugly and a direct copy of the telegram specification. I think it should follow java standards and then add a JsonProperty on all model fields.

UnAfraid commented 9 years ago

How you gonna handle jackson reading when you change them. Is there some annotation bindings?

reefstah commented 9 years ago

Ye for example:

@JsonProperty("chat_id")
private int chatId;