pengrad / java-telegram-bot-api

Telegram Bot API for Java
https://core.telegram.org/bots
Apache License 2.0
1.79k stars 372 forks source link

Could you please set Long instead of Integer. For today's, the current update_id is 974825709 #117

Closed e1-one closed 6 years ago

e1-one commented 6 years ago

https://github.com/pengrad/java-telegram-bot-api/blob/7a6af9dc86201016457c34c2f9f41156acdaf929/library/src/main/java/com/pengrad/telegrambot/model/Update.java#L12

pengrad commented 6 years ago

In telegram doc https://core.telegram.org/bots/api#available-types

It is safe to use 32-bit signed integers for storing all Integer fields unless otherwise noted.

e1-one commented 6 years ago

Thank you for a prompt reply.