telegram-bot-api 7.4.1 → 7.4.2
raw patch · 4 files changed
+7/−3 lines, 4 files
Files
- CHANGELOG.md +5/−0
- src/Telegram/Bot/API/Methods/StopMessageLiveLocation.hs +0/−1
- src/Telegram/Bot/API/Types/ChatFullInfo.hs +1/−1
- telegram-bot-api.cabal +1/−1
CHANGELOG.md view
@@ -1,5 +1,10 @@ # telegram-bot-api +## 7.4.2 -- 2024-10-31++- Fix `ChatFullInfo` type `active_usernames` attribute (see [#192](https://github.com/fizruk/telegram-bot-simple/pull/192)).+- Fix compilation warnings (see [#193](https://github.com/fizruk/telegram-bot-simple/pull/193)).+ ## 7.4.1 -- 2024-10-20 - Fix `inline_messaige_id` type representation (see [#191](https://github.com/fizruk/telegram-bot-simple/pull/191)).
src/Telegram/Bot/API/Methods/StopMessageLiveLocation.hs view
@@ -6,7 +6,6 @@ import Data.Aeson (FromJSON (..), ToJSON (..)) import Data.Proxy-import Data.Text import GHC.Generics (Generic) import Servant.API import Servant.Client hiding (Response)
src/Telegram/Bot/API/Types/ChatFullInfo.hs view
@@ -37,7 +37,7 @@ , chatFullInfoAccentColorId :: Maybe Int -- ^ Identifier of the accent color for the chat name and backgrounds of the chat photo, reply header, and link preview. See [accent colors](https://core.telegram.org/bots/api#accent-colors) for more details. Returned only in 'getChat'. Always returned in 'getChat'. , chatFullInfoMaxReactionCount :: Int -- ^ The maximum number of reactions that can be set on a message in the chat. , chatFullInfoPhoto :: Maybe ChatPhoto -- ^ Chat photo. Returned only in getChat.- , chatFullInfoActiveUsernames :: Maybe Text -- ^ If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in 'getChat'.+ , chatFullInfoActiveUsernames :: Maybe [Text] -- ^ If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in 'getChat'. , chatFullInfoBirthdate :: Maybe Birthdate -- ^ For private chats, the date of birth of the user. , chatFullInfoBusinessIntro :: Maybe BusinessIntro -- ^ For private chats with business accounts, the intro of the business. , chatFullInfoBusinessLocation :: Maybe BusinessLocation -- ^ For private chats with business accounts, the location of the business.
telegram-bot-api.cabal view
@@ -1,7 +1,7 @@ cabal-version: 1.12 name: telegram-bot-api-version: 7.4.1+version: 7.4.2 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> .