- Support Suggested Replies feature for user message
- Added
SBUSuggestedReplyView
class - Added
SBUVerticalSuggestedReplyView
class - Added
SBUSuggestedReplyViewDelegate
delegate - Added
SBUSuggestedReplyViewParams
struct - Added
SBUSuggestedReplyOptionView
class - Added
SBUSimpleSuggestedReplyOptionView
class - Added
SBUSuggestedReplyOptionViewDelegate
delegate
- Added
- Support Form Type Message feature for user message
- Added
SBUForm
struct - Added
SBUForm.Field
struct - Added
SBUForm.Field.InputTypeValue
enum - Added
SBUForm.Answer
struct - Added
SBUFormViewParams
struct - Added
SBUFormView
class - Added
SBUSimpleFormView
class - Added
SBUFormViewDelegate
protocol - Added
SBUFormFieldView
class - Added
SBUFormFieldView.StatusType
enum - Added
SBUSimpleFormFieldView
class - Added
SBUFormFieldViewDelegate
protocol - Added
useOnlyFromView
property inSBUBaseMessageCellParams
- Added
- Support ExtendedMessagePayload CustomView feature for user message
- Added
SBUExtendedMessagePayloadCustomViewFactory
protocol - Added
SBUExtendedMessagePayloadCustomViewFactoryInternal
protocol
- Added
- Support common for new features
- Added properties and methods in
SBUUserMessageCell
shouldHideSuggestedReplies
propertysuggestedReplyView
propertyshouldHideFormTypeMessage
propertyformViews
propertyextendedMessagePayloadCustomViewFactory
propertyupdateSuggestedReplyView(with:)
methodcreateSuggestedReplyView()
methodupdateFormView(with:answers:)
methodcreateFormView()
methodsuggestedReplyView(_:didSelectOption:)
delegate methodfunc formView(_:didSubmit:)
delegate methodfunc formView(_:didUpdate:)
delegate method
- Added properties in
SBUUserMessageCellParams
shouldHideSuggestedReplies
propertyshouldHideFormTypeMessage
propertyformAnswers
property
- Added handlers in
SBUBaseMessageCell
suggestedReplySelectHandler
handlersubmitFormAnswerHandler
handlerupdateFormAnswerHandler
handler
- Added
mainContainerVStackView
proeprty inSBUContentBaseMessageCell
- Added
SBUConfig.GroupChannel
configsisFormTypeMessageEnabled
propertyisSuggestedRepliesEnabled
property
- Added extension methods and properties in
BaseMessage
.asSuggestedReplies
propertyasForms
propertyasCustomView
propertydecodeCustomViewData<ViewData: Decodable>()
method
- Added methods in
SBUGroupChannelModuleListDelegate
groupChannelModule(_:didSelect:)
methodgroupChannelModule(_:didSubmit:messageCell:)
methodgroupChannelModule(_:didUpdate:messageCell:)
methodgroupChannelModule(_:answersFor:)
method
- Added delegate methods in
SBUGroupChannelViewController
groupChannelModule(_:didSelect:)
methodgroupChannelModule(_:didSubmit:messageCell:)
methodgroupChannelModule(_:didUpdate:messageCell:)
methodgroupChannelModule(_:answersFor:)
method
- Added methods in
SBUGroupChannelViewModel
submitForm(message:answer:)
methodupdateForm(message:answer:)
method
- Added properties and methods in
- Support actions on userList item of
SBUReactionsViewController
.- Added
showUserProfile(user:)
method inSBUBaseChannelViewController
class - Added
setUserProfileTapGesture(_:)
method inSBUReactionsViewController
class - Added
SBUReactionsViewControllerDelegate
delegate - Added delegate methods in
SBUGroupChannelViewController
andSBUMessageThreadViewController
classesreactionsViewController(_:didTapUserProfile:)
reactionsViewController(_:tableView:didSelect:forRowAt:)
- Added