We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a per-message avatar, so every activity can have different avatars.
channelData
const activity = { channelData: { webchatAvatarImage: 'data:image/png;base64,...', webchatAvatarInitials: 'WW' }, text: 'Hello, World!', type: 'message' };
() => next => ({ activity }) => { const style = useMemo(() => ({ backgroundImage: 'url(data:image/png;base64,...)' }), []); return () => ( <span style={style}>WW</span> ); }
[Enhancement]
The text was updated successfully, but these errors were encountered:
compulim
Successfully merging a pull request may close this issue.
Feature Request
Add a per-message avatar, so every activity can have different avatars.
User stories
channelData
.Avatar grouping (show 1 avatar for X number of activities)(OC: Timestamp and avatar grouping (Jul 1) #2939)Avatar can be aligned to bottom instead of top(need OC: Timestamp and avatar grouping (Jul 1) #2939)Designs
Using
channelData
to deliver avatar imageUsing middleware for React element
Screenshots
[Enhancement]
The text was updated successfully, but these errors were encountered: