如何更改Bot标头的名称 [英] how to change the name of the bot header
本文介绍了如何更改Bot标头的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将[chat]标头bot的名称更改为Askme. 我可以知道如何在Microsoft bot中对其进行更改吗? 图片已附着
I need to change the name of [chat] header bot to Askme. may i know how to change it in Microsoft bot. Image is attched
推荐答案
如果您不使用iframe的网络聊天,则可以像这样修改标头的.innerHTML:
If you are not using the iframe'd webchat, you can just modify the header's .innerHTML like this:
var header = document.getElementsByClassName("wc-header");
header[0].innerHTML = "<span>Askme</span>"
这篇关于如何更改Bot标头的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文