Hello Sendbird community! I am wondering if the UI Kit provides a way to display a list of potential responses?
For example:
User 1: What can I help you with today?
List of tappable bubbles that say: “Option 1”, “Option 2,” etc.
We want to be able to triage chats based on the option that they choose. I’ve seen a few articles about integrating bots, but nothing specific.
Here are the two articles I was looking at:
Hi!
Are you asking us how to show additional options on the UI Kit? You can customize the UI part of the message, so please refer to the UIKit guide.
- First, put the necessary data together in the data area of the message and send it.
Group channel | Chat Android SDK | Sendbird Docs
[ex - Android]
UserMessageParams params = new UserMessageParams()
…
.setData(DATA)
…
sendUserMessage(messageParams:)
- And you can customize the data in the message with a button.
[ex - Android]
Group channel | UIKit Android SDK | Sendbird Docs
setMessageListAdapter()
[ex - iOS]
register(customMessageCell:nib:)
Define the option that goes into the data as JSON string and use it.
Thanks.
Can you clarify something for me? For what I understand she’s asking to add buttons/bubbles to the cells. But these customMessageCell you talk about for what I understood only allow the same limited customization as the other messages cells and this customMessageCell acts more like a placeholder for a cell template rather than allowing you to create a UITableViewCell from scratch with unlimited iteraction.
Also, @phasjim-sonder how did you end up fixing this situation? where you able to add the bubble “buttons”?
Hey @Joao_Serra_sh,
We didn’t end up going with Sendbird UI Kit. We ended up using gifted-chat as the UI and used the sendbird services. Gifted-chat has the concept of “Quick replies” which is what we needed for our app.
1 Like