How to change/replace text in message cell? #67
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Guide & Snippet
The first way
SBUUserMessageCell
to configureSBUUserMessageTextView
object with replaced message text instead ofBaseMessage
object.SBUUserMessageCell
userMessageCell
inSBUGroupChannelModule.List
toCustomUserMessageCell
and update it.SBUModuleSet
.The second way
BaseMessage
object by usingBaseMessage.make(_:)
class method in Chat SDK.baseChannelModule(_:sentMessagesInTableView:)
,baseChannelModule(_:fullMessagesInTableView:)
), use below code snippet:Reference
Beta Was this translation helpful? Give feedback.
All reactions