dash_chat icon indicating copy to clipboard operation
dash_chat copied to clipboard

Add A Way To Show Users Name Above Message

Open brad555 opened this issue 4 years ago • 4 comments

If you have a group message, you usually see the name of the person you are talking to above their texts. Was thinking it would be nice if that feature was available. Similar to how there is an option to not show the users avatar after every message, a feature to show the users name above their many messages would be nice.

brad555 avatar Jun 29 '20 14:06 brad555

Good idea

SebastienBtr avatar Jun 30 '20 09:06 SebastienBtr

I needed this as well, for a temp solution, I used the messageBuilder param in DashChat and for the MessageContainer that gets returned in that function, I used the messageTextBuilder to implement the name above the message.

peter-sg avatar Jul 12 '20 21:07 peter-sg

@peter-sg can you share your implementation? Thanks :)

shashwatadi avatar Aug 10 '20 20:08 shashwatadi

@shashwatadi You can use MessageBuilder property it's a function and you will get the ChatMessage from it & then build a custom message widget using the value from the message and return it.

fayeed avatar Aug 11 '20 02:08 fayeed