How to customize OpenChannelUserMessageCell? #109
tezpark
announced in
1. Chatting in a channel
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Guide & Snippet
OpenChannelMessageCell consists of the following inheritance structure.
SBUOpenChannelBaseMessageCell
SBUOpenChannelContentBaseMessageCell
SBUOpenChannelAdminMessageCell
SBUOpenChannelFileMessageCell
SBUOpenChannelUserMessageCell
SBUOpenChannelUnknownMessageCell
This section describes how to customize user messages as a representative example.
In general, it is recommended to inherit the User, File, and Aadmin message cells for customization.
Create a custom cell class that inherits from
SBUOpenChannelUserMessageCell
.And implement where you need to customize
SBUOpenChannelModule.List
.setupViews
method.tableView(_:cellForRowAt:)
function if you need to.SBUModuleSet.OpenChannelModule.ListComponent
to the customized list component:Beta Was this translation helpful? Give feedback.
All reactions