New issue
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
Support for bot avatar #871
Comments
Sorry, currently it is not supported. But as a workaround, you should be able to hack into our CSS to add the avatar icon. To enable avatar icon broadly, Direct Line might need to be updated to retrieve avatar icon from various sources (e.g. Skype, Slack, Facebook). And it also implies that we might want to support multi-party conversations. |
Can someone leave some code for hacking the css in the IFRAME? I have tried everything and I cannot get this to work. I am trying to inject the style. |
This basic UI feature seems to be sorely missing from the bot framework. There's also no direction on how, if possible, this is done in directline. |
This is coming as a customization feature. We talked about avatar long time ago, there are multiple things we need to handle:
We aimed big, but these issues are not easy to solve (e.g. multi channels). Now we are backtracking and just allow dev to put any icons. Anyway, it's coming. |
Hey, I resolved this issue doing the follow hack at botchat.scss. `.wc-message-from-bot .wc-message-content {
}` For any questions let me know and I'll try help you :D |
i found this place a good alternative |
I tried to change botchat.js and botchat.css, It works but the same image is being shown for user and bot. I just wanted it for bot. Since, minified botchat.js is tough to debug and modify, can anyone please guide me how do I add bot icon only for each bot message in webchat using Directline. bot image is constant and will be only hosted on webchat. |
Please refer to #882 for tracking. |
Is there a way to show bot avatar like any other chat, example:
The text was updated successfully, but these errors were encountered: