Skip to content

Commit c705861

Browse files
committed
Fix ChatFullInfo: active_usernames is a list, not a Maybe
1 parent 7d06c93 commit c705861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram-bot-api/src/Telegram/Bot/API/Types/ChatFullInfo.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ data ChatFullInfo = ChatFullInfo
3737
, 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'.
3838
, chatFullInfoMaxReactionCount :: Int -- ^ The maximum number of reactions that can be set on a message in the chat.
3939
, chatFullInfoPhoto :: Maybe ChatPhoto -- ^ Chat photo. Returned only in getChat.
40-
, chatFullInfoActiveUsernames :: Maybe Text -- ^ If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in 'getChat'.
40+
, chatFullInfoActiveUsernames :: Maybe [Text] -- ^ If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in 'getChat'.
4141
, chatFullInfoBirthdate :: Maybe Birthdate -- ^ For private chats, the date of birth of the user.
4242
, chatFullInfoBusinessIntro :: Maybe BusinessIntro -- ^ For private chats with business accounts, the intro of the business.
4343
, chatFullInfoBusinessLocation :: Maybe BusinessLocation -- ^ For private chats with business accounts, the location of the business.

0 commit comments

Comments
 (0)