Anyone, please help me to know how to disable these buttons on the BP channel-web widget?
Hey @Nghia_Nguyen
You can find the full configuration here: https://github.com/botpress/botpress/blob/master/modules/channel-web/src/views/lite/typings.d.ts#L131
For your needs, you can set the
- enableReset
- enableTranscriptDownload
- showConversationsButton
variables to false
.
Thank you so much.
Hello @Nghia_Nguyen, may I know which file did you made the configurations to disable those buttons?
@anarchylife98 try /botpress/data/assets/modules/channel-web/inject.css
And there’s a good tip from @abhisheksimon:
window.botpressWebChat.init({
host: 'http://localhost:3000',
botId: 'botId',
hideWidget: false,
enableReset: false,
enableTranscriptDownload: false,
disableAnimations: false,
useSessionStorage: false,
showPoweredBy: false,
enableResetSessionShortcut: false
,showConversationsButton:false,
showPoweredBy:false,extraStylesheet: '/assets/modules/channel-web/default-emulator.css'
});
this is my setting of channel web.
Thank you
1 Like