botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Changing colour of string in bot framework

Open dipumon opened this issue 10 years ago • 5 comments

Is there any option to change the font color of string that is sent from bot to user instead of default black in .NET?

I am trying to change the color of text appearing in cards in bots

dipumon avatar Sep 21 '16 07:09 dipumon

Hi @dipumon, which channel are you using?

dandriscoll avatar Sep 21 '16 13:09 dandriscoll

I am using skype channel.

dipumon avatar Sep 21 '16 16:09 dipumon

Skype doesn't support changing font color. https://docs.botframework.com/en-us/csharp/builder/sdkreference/activities.html has a list of supported tags.

nickcordrey avatar Oct 06 '16 16:10 nickcordrey

can we change the color of the text we send in Webchat Directline? Also can we send at least the CSS class name so that with help of that class name, we can change the color at our webchat end?

anandvardhandas avatar Sep 25 '18 20:09 anandvardhandas

Hi @anandvardhandas

If you are not using the iframed version of webchat, you can override the css using normal means of css overriding.

Please ask your question on StackOverflow, and someone will assist you promptly. (The Bot Framework team prefers that the GitHub repository be used for bug reports and feature requests.)

EricDahlvang avatar Sep 27 '18 21:09 EricDahlvang