v3.0.0-beta.2
Pre-release
Pre-release
- Updated Chat SDK minimum version to
3.1.13 - Added User Mention Features
- Added Mention feature to
SBUGlobalsuserMentionConfigisUserMentionEnabled
- Added
MentiontoSBUStringSetMention.Trigger_KeyMention.Limit_Guide
- Added
SBUUserMentionConfiguration - Added
SBUBaseChannelViewModelmethodssendUserMessage(text:mentionedMessageTemplate:mentionedUserIds:parentMessage:)updateUserMessage(message:text:mentionedMessageTemplate:mentionedUserIds:)
- Added properties to
SBUMessageInputViewdefaultAttributes,mentionedAttributes
- Added
SBUMessageInputViewDelegatemethodsmessageInputView(_:shouldChangeTextIn:replacementText:) -> BoolmessageInputView(_:shouldInteractWith:in:interaction:) -> BoolmessageInputView(_:didChangeSelection:)
- Added
SBUGroupChannelModuleInputDelegatemethodsgroupChannelModule(_:didTapSend:mentionedMessageTemplate:mentionedUserIds:parentMessage:)groupChannelModule(_:didTapEdit:mentionedMessageTemplate:mentionedUserIds:)groupChannelModule(_:shouldLoadSuggestedMentions:)
- Added
SBUMentionManager,SBUMentionManagerDelegateandmentionManager(_didChangeSuggestedMention:filteredText:isTriggered:),mentionManager(_:didInsertMentionsTo:)``SBUMentionManagerDataSource
- Added
SBUSuggestedMentionList,SBSBUSuggestedMentionListDelegateMention_Limit_GuidetoSBUStringSetisMentionGuideEnabledSBUMentionLimitGuideCellsuggestedUserList(_:didSelectUser:)
- Updated
SBUGroupChannelCellunreadMentionLabel
- Updated
SBUGroupChannelModule.InputmentionManagersuggestedMentionListsetupMentionManager,updateSuggestedMentionList(with:),presentSuggestedMentionList(),dismissSuggestedMentionList()
- Updated
SBUUserCellto supportSBUSuggestedMentionListUserListType.suggestedMentionnicknameLabelanduserIdLabel- Renamed
userNicknametonicknameLabel - Renamed
userNameTextColoranduserNameFonttonicknameTextColorandnicknameFont
- Updated
SBUThemefor the mention featuresmentionTextFont,mentionLeftTextColor,mentionRightTextColor,mentionLeftTextBackgroundColor,mentionRightTextBackgroundColorfor message cell.mentionTextFont,mentionTextColor,mentionTextBackgroundColorfor message input.mentionLimitGuideTextFont,mentionLimitGuideTextColor,separatorColorfor channel.unreadMentionTextFont,unreadMentionTextColorfor channel cell.nicknameTextFont,nicknameTextColor,nonameTextColor,userIdTextFontanduserIdTextColor
- Added Mention feature to