packages feed

telegram-bot-api 6.7 → 6.7.1

raw patch · 4 files changed

+11/−2 lines, 4 files

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # telegram-bot-api +## 6.7.1 -- 2023-06-26++- Fix Inline Mode (see [#157](https://github.com/fizruk/telegram-bot-simple/pull/157)).+ ## 6.7 -- 2023-04-29  ### Bot API 6.6 support
src/Telegram/Bot/API/Internal/Utils.hs view
@@ -106,8 +106,12 @@     <|> R1 <$> gsomeParseJSON js  addJsonFields :: Value -> [Pair] -> Value-addJsonFields (Object obj) pairs = Object $  Map.union obj (Map.fromList pairs)+addJsonFields (Object obj) pairs = Object $  Map.union obj $ Map.fromList (filter (not . isNull) pairs) addJsonFields x _ = x++isNull :: Pair -> Bool+isNull (_, Null) = True+isNull _ = False  addMultipartFields :: [Input] -> MultipartData tag -> MultipartData tag addMultipartFields newFields (MultipartData currenFields files)
src/Telegram/Bot/API/Types/Chat.hs view
@@ -57,6 +57,7 @@   | ChatTypeGroup   | ChatTypeSupergroup   | ChatTypeChannel+  | ChatTypeSender   deriving (Generic, Show)  instance ToJSON   ChatType where
telegram-bot-api.cabal view
@@ -1,7 +1,7 @@ cabal-version: 1.12  name:           telegram-bot-api-version:        6.7+version:        6.7.1 synopsis:       Easy to use library for building Telegram bots. Exports Telegram Bot API. description:    Please see the README on Github at <https://github.com/fizruk/telegram-bot-simple#readme>                 .