fizruk / telegram-bot-simple

Easy to use library for building Telegram bots in Haskell.
BSD 3-Clause "New" or "Revised" License
107 stars 54 forks source link

Fix ChatFullInfo: active_usernames is a list, not a Maybe #192

Closed balsoft closed 1 month ago

balsoft commented 1 month ago

active_usernames in chatfullinfo is "Array of String", but it is incorrectly specified as Maybe Text in the current version.

This makes it impossible to use getChat.

Fix this.

swamp-agr commented 1 month ago

Hi! Thanks for the fix! I am going to merge it and fix build afterwards. I still see that CI is complaining about something that seems unrelated to your MR.

swamp-agr commented 1 month ago

Please find release telegram-bot-api-7.4.2on Hackage: https://hackage.haskell.org/package/telegram-bot-api-7.4.2. Doc will be autogenerated tomorrow.