WLANThermo-nano / WLANThermo_ESP32_Software

GNU General Public License v3.0
34 stars 19 forks source link

Telegram Chat ID disappears after saving in Push Notifications when ID value is a negative number #161

Open ktetzlaff opened 3 years ago

ktetzlaff commented 3 years ago

SW Version: 1.2.0

Observed behavior: When the telegram push notification data is saved and the Chat ID has a negative value (in my case, the Chat ID value is -553266094), the Chat ID is not shown when opening the push notification page again. However, push notifications still work, so the data must have been stored properly.

Expected behavior: Show stored Chat ID, even if it is a negative number.

sochs commented 3 years ago

Thanks for the hint. Telegram has changed its API so that the Chat ID can now contain characters as well as digits. We are aware of this, a change in the data type is planned. Currently only the chat IDs of group chats are affected.