elbekD / kt-telegram-bot

Telegram Bot Library for Kotlin language
MIT License
103 stars 19 forks source link

#39 fix type #40

Closed SonicNorg closed 2 years ago

SonicNorg commented 2 years ago

According to https://core.telegram.org/bots/api#user, 32-bit Int is not enough.

Unique identifier for this user or bot. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.

elbekD commented 2 years ago

resolved in 1.4.1