- Updated Chat SDK minimum version to
3.1.13
- Added User Mention Features
- Added Mention feature to
SBUGlobals
userMentionConfig
isUserMentionEnabled
- Added
Mention
toSBUStringSet
Mention.Trigger_Key
Mention.Limit_Guide
- Added
SBUUserMentionConfiguration
- Added
SBUBaseChannelViewModel
methodssendUserMessage(text:mentionedMessageTemplate:mentionedUserIds:parentMessage:)
updateUserMessage(message:text:mentionedMessageTemplate:mentionedUserIds:)
- Added properties to
SBUMessageInputView
defaultAttributes
,mentionedAttributes
- Added
SBUMessageInputViewDelegate
methodsmessageInputView(_:shouldChangeTextIn:replacementText:) -> Bool
messageInputView(_:shouldInteractWith:in:interaction:) -> Bool
messageInputView(_:didChangeSelection:)
- Added
SBUGroupChannelModuleInputDelegate
methodsgroupChannelModule(_:didTapSend:mentionedMessageTemplate:mentionedUserIds:parentMessage:)
groupChannelModule(_:didTapEdit:mentionedMessageTemplate:mentionedUserIds:)
groupChannelModule(_:shouldLoadSuggestedMentions:)
- Added
SBUMentionManager
,SBUMentionManagerDelegate
andmentionManager(_didChangeSuggestedMention:filteredText:isTriggered:)
,mentionManager(_:didInsertMentionsTo:)``SBUMentionManagerDataSource
- Added
SBUSuggestedMentionList
,SBSBUSuggestedMentionListDelegate
Mention_Limit_Guide
toSBUStringSet
isMentionGuideEnabled
SBUMentionLimitGuideCell
suggestedUserList(_:didSelectUser:)
- Updated
SBUGroupChannelCell
unreadMentionLabel
- Updated
SBUGroupChannelModule.Input
mentionManager
suggestedMentionList
setupMentionManager
,updateSuggestedMentionList(with:)
,presentSuggestedMentionList()
,dismissSuggestedMentionList()
- Updated
SBUUserCell
to supportSBUSuggestedMentionList
UserListType.suggestedMention
nicknameLabel
anduserIdLabel
- Renamed
userNickname
tonicknameLabel
- Renamed
userNameTextColor
anduserNameFont
tonicknameTextColor
andnicknameFont
- Updated
SBUTheme
for the mention featuresmentionTextFont
,mentionLeftTextColor
,mentionRightTextColor
,mentionLeftTextBackgroundColor
,mentionRightTextBackgroundColor
for message cell.mentionTextFont
,mentionTextColor
,mentionTextBackgroundColor
for message input.mentionLimitGuideTextFont
,mentionLimitGuideTextColor
,separatorColor
for channel.unreadMentionTextFont
,unreadMentionTextColor
for channel cell.nicknameTextFont
,nicknameTextColor
,nonameTextColor
,userIdTextFont
anduserIdTextColor
- Added Mention feature to