Merge pull request #36 from pavel-the-best/hashable-type Derive Hashable for MessageId
1 files changed, 1 insertions(+), 1 deletions(-) M src/Telegram/Bot/API/Types.hs
M src/Telegram/Bot/API/Types.hs => src/Telegram/Bot/API/Types.hs +1 -1
@@ 137,7 137,7 @@ data Message = Message -- | Unique message identifier inside this chat. newtype MessageId = MessageId Int32 - deriving (Eq, Show, ToJSON, FromJSON) + deriving (Eq, Show, ToJSON, FromJSON, Hashable) instance ToHttpApiData MessageId where toUrlPiece a = pack . show @Int32 $ coerce a