microsoft bot framework, chatbot loading with blank screen - botframework

my chatbot is loading with blank screen. When i close the chat and open it again it loads perfect and work fine. i am not sure what could be the reason for this.
I am using Microsoft bot framework v4, and my chatbot is deployed in web.
Any help is appreciated.
Thanks
Sanjeev Gautam

Unlike emulator, when hosted the Bot will wait for a message from User first. If you want to send a welcome message as soon as bot is active then have a look at solutions here:
Display Welcome Message in v4 Bot Framework Bot (C# + .Net Core Web Application)

Related

Microsoft Teams proactive messaging in activity feed

I have a requirement that my bot should receive a notification from an external system and then it needs to send notification to Teams' logged in user's activity feed.
I followed https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/16.proactive-messages, it works on emulator. I deployed above app on on-premise IIS server (with https support) and then registered on https://dev.botframework.com/ by providing botid generated through MSTeams App builder. Now, when I sideloaded this bot in MS Teams, it does not send proactive message.
I am new to Bot framework hence steps by steps instructions and sample code will be much appreciated.
You haven't given a lot of detail in your question about your actual setup, or the code you're using, so it's hard to really answer, but I have posted a few time recently about pro-active messaging. Here's one with a bunch of detail, in C#, so hopefully it can help: Programmatically sending a message to a bot in Microsoft Teams - just see my answer in that page. If that doesn't help, please try describe your current scenario better, and what you've tried.

3D Avatar Implementation on Botframework V4

I'm searching for knowledge sharing on how to connect a 3D avatar with a bot.
Something like done on Bot Libre https://www.botlibre.com/forum-post?id=682689 .
The implementation can be on WPF, UWP or web.
I'm currently working with Botframework V4.7 and C#.
Thanks in advance,
Amintas
This will likely require you to build a custom connector to pass your bot's incoming and outgoing activities thru to the Bot Libre system. There are examples out there of connectors/adapters that have been built by 3rd parties, such as this Twilio WhatsApp adapter, this Twitter adapter, or this Alexa adapter if you are planning on building in C#.
Any adapter you build won't need to be as full fledged as these are as you are only designing for what you know you need, and not for the masses.
You will also need to research Bot Libre to see which API endpoints might be relevant to you. You can see a listing of APIs here. Really, this holds true for any service like Bot Libre that you decide to land on.
Hope of help!
It depends on the Channel your bot is deployed on and what does the channel supports. For example if your bot is deployed in Facebook Messenger, you can achieve this by creating a web page that renders a 3D Avatar and using Bot Framework you can send a web_url button from which the user will press and the web page will open up inside of messenger with the rendered avatar.

Bot not answering messages in microsoft teams

I'm following this Microsoft-teams tutorial for a simple bot. I'm running it using VScode in local mode.
It's working in bot emulator. Here is a screenshot of that.
But It's not working when sideloaded as an app for Microsoft teams. I'm able to send the messages but the bot is not replying back.
What I'm missing here?
There is currently a bug in our bot registration code that is causing this. We are currently investigating its root cause.
As a workaround, add the Skype channel and the MS Teams channel to the bot.
Update: This is no longer a requirement. This is fixed.

Skype ChatBot Bubble - Different message colors

So I've been using MS Bot Framework to build some chatbots and I'm trying to integrate one of them with Skype.
The thing is, it seems that the "Skype Bubbles" don't support different color messages to distinguish between the user & the bot.
Even the default Skype bot has all messages in grey.
Is it possible to change this?
Thank you all.
Example of Skype's Test Bot Color Scheme
What you are looking at on the https://dev.skype.com website (aka Skype Dev Buddy bot) is actually the Skype Web Chat component. You can achieve some degree of customization using the chat control customization tool here.
If you would like full control over the styling of the chat control, you can fork and customize the Bot Framework official WebChat module (which is different than the Skype Web Chat (SWC).
For more information on customizing the Bot Framework WebChat component, see: Customizing WebChat > Styling
It seems that it's not possible to do that with Skype Web Control as #Nils W said.
One should use the Bot Framework WebChat Module.

Web Chat doesn't work, but Telegram / Facebook / Emulator etc. work fine

I have a chatbot created with the MS bot framework. It works great in Telegram, on the portal, facebook messenger, and the emulator - but the Web Chat doesn't work.
It will connect and let me type things in, but none of the responses get back to the web chat window. I even see the message coming in and being sent back from my chatbot in the server logs, but somehow it doesn't make its way back to the web chat.
Any idea why?
The bot is called WffBot, and the web chat link is here.
It turned out that I had the address and name in the from section of the JSON of the response switched. While, for whatever reason, none of the other messaging systems minded this, the WebChat just ignores the responses.

Resources