packages feed

telegram-bot-simple 0.6.1 → 0.6.2

raw patch · 3 files changed

+13/−2 lines, 3 files

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+0.6.2+---++- Fix decoding for `VideoChatStarted` (see [#132](https://github.com/fizruk/telegram-bot-simple/pull/132));+ 0.6.1 --- 
src/Telegram/Bot/API/Types.hs view
@@ -458,6 +458,13 @@ data VideoChatStarted = VideoChatStarted   deriving (Generic, Show) +instance ToJSON VideoChatStarted where+  toJSON = gtoJSON++instance FromJSON VideoChatStarted where+  parseJSON (Data.Aeson.Object _) = pure VideoChatStarted+  parseJSON _ = fail "Unable to parse VideoChatStarted: expected an empty object"+ -- ** 'VideoChatEnded'  -- | This object represents a service message about a video chat ended in the chat.@@ -1275,7 +1282,6 @@   , ''EncryptedCredentials   , ''ProximityAlertTriggered   , ''VideoChatScheduled-  , ''VideoChatStarted   , ''VideoChatEnded   , ''VideoChatParticipantsInvited   , ''ChatPermissions
telegram-bot-simple.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           telegram-bot-simple-version:        0.6.1+version:        0.6.2 synopsis:       Easy to use library for building Telegram bots. description:    Please see the README on Github at <https://github.com/fizruk/telegram-bot-simple#readme> category:       Web