Clicking notification take me to generic feed rather than to chat section - botframework

When I receive a notification In Teams from Bot A and I click on the popup the system does not navigate to the Bot A chat section, but to the generic Feed.
clicking on this take me to generic feed i.e

We got an update from the engineering team, this is expected behavior. The left side panel will just stay at "Feed", which is by design.

Related

Teams Popout chat through coding

I want to open the teams chat as pop out chat instead of opening in the chat window. When I used the below code through SPFx, I am able to open the chat window
window.open('MSTeams:/l/chat/0/0?users=' + userID, 'popup', 'width=600,height=600,resizable=yes,fullscreen=no');
return false;
but I want to open the chat window as pop out chat.
I tried
MSTeams:/l/chat/pop/1/0?users=useremail
and
MSTeams:/l/chat/1/1?users=useremail
but its not working please help me on this.
Teams has inbuilt pop out chat feature, there is no official sample code or support available for custom apps. I've raised a Feature request in backlog item.

How to create link message in "Activity" and in "Chat" which navigates to the Side rail personal tab in MS Teams?

Is it possible to send a notification message to users to navigate to the Personal Tab app in Side rail from the "Activity" or "Chat" window in MS teams?
The notification message in Activity and Chat should have a link that would navigate to the New Personal Tab installed.
Yes, you can do this by sending a Deep Link to your app's Personal tab. See more about this at Create Deep Links.
To actually send the message you have a few options, including:
Create a Bot
Use an incoming Webhook
Use the Microsoft Graph
Use Power Automate (Flow) (there's an app in Teams called the "Flow Bot" which enables you to send messages from Flows directly to a user.

Unable to connect Web App Bot to Cortana Channel

I'm trying to add the Cortana channel to a bot I've been working on today. However, when the page loads, the entire form is greyed out except for the knowledge.store Register button, and the Cancel button.
I've read elsewhere that people have managed to get past this by clicking really quickly on the Save button that appears briefly as the page loads, but I've had no luck with that. The (very helpful) tech support guy suggests it could be due to special characters or numbers in the bot name, but I have the exact same issue with a bot name that's just lowercase letters.
UPDATE: I can now see my knowledge.store organisations in a dropdown next to the Register button. Clicking the Register button throws a "Failed to create bot module" error. I am able to connect the channel successfully on another bot I made to test the issue.

Chat history Persistence in MicroSoft Botframework WebChat window

I have a requirement of maintaining chat history and loading them back in a window after a page refresh or close and opening of the window.
ISSUE : Buttons/carousel/Adaptive cards/Hero Cards events/ properties are not loading (ie; when I click on button or any event, actions are not happening).
DESCRIPTION:
In order to achieve the requirement i had 2 options.
BotFramework _ Directline JS
I guess using this we can only get conversation history and where we couldn't load back the conversation history in chat window.
Though we can get the conversation history we have to send all the messages to bot again.
So i had opted 2nd one.
Store the html controls and Load it in the bot div: When sending or receiving message action is happening from bot am storing the html controls(i.e; controls under wc-message-groups class in local storage) and binding back to the div on page load if data exists.
This works for me to show conversation history in a chat window. But I am not able to get the events/actions for buttons.
Can we do this with Directline JS or is there any option to load properties/events to controls?
Please help me with this issue.
Thanks in Advance
I would start by taking a look at this thread out the Webchat GitHub repo. There is a good discussion going on about how this may be accomplished.
I also created this project in C# using webchat which will provide chat history in the webchat control. The project uses this pull request branch which you would also need to use. Hope this helps, good luck.

How to echo clicked button text from Rich cards in web chat

We've developed a bot and are sending rich cards to the client. When a user connects to our bot through web chat and clicks a button within those rich cards, the text of the buttons the user clicked on are not echoed to the chat window as if the user would have typed it himself, unlike messenger for example.
The problem with this is that if the user scrolls up in the conversation, all he sees is text written by the bot and it makes it hard for him to see what choices he's made (what buttons were clicked), and therefore what bot's answers correspond to what choice.
Make sure that the Type of your CardAction (your buttons) is set to imBack. Then fill the Value property with the text you want to show in the chat.
Per the documentation:
CardAction.Type: imBack
CardAction.Value: Text of the message to send
to the bot (from the user who clicked the button or tapped the card).
This message (from user to bot) will be visible to all conversation
participants via the client application that is hosting the
conversation.

Resources