I developed an MS Teams meeting app which based on documentation, when added to a meeting would have a tab-config dialog for example like here.
After we click Save, we would get the sidepanel view of the app for example like here.
I am wondering if there is any way or meeting api available to close the sidepanel view or close the app programmatically rather than the user clicking the cross icon or removing the app.
Thanks!
Currently there is no option to close the meeting sidepanel programmatically.
Could you please raise a user voice here:
https://microsoftteams.uservoice.com/forums/555103-public/filters/new
Related
Update
There's a bug in teams-js which is causing getContext to return an empty string for subEntityId, a required field for deeplinking to an app within a channel within a team.
Original Question
I have a requirement to link from a Personal Tab app to a Channel Tab app. Is this possible? If so, how do you do it? I couldn't find any relevant info in the docs.
Detail
We have an app which runs in the Channel Tab and the Personal Tab. If you're viewing our app from your Personal Tab, you'll see a list of items which when clicked should navigate to our app in a Channel Tab associated with the clicked item. The channel could be under a different team, but it will be in the same organization, and you are already a member of that team and channel.
You can accomplish this via Deep Linking. See more at https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2#generate-a-deep-link-to-your-tab but specifically here is an example cited in that page:
Link to a configurable tab itself:
https://teams.microsoft.com/l/entity/fe4a8eba-2a31-4737-8e33-e5fae6fee194/tasklist123?webUrl=https://tasklist.example.com/123&label=Task List 123&context={"channelId": "19:cbe3683f25094106b826c9cada3afbe0#thread.skype"}
I previously worked on creating VSTO and Office addins for MS Outlook, Excel and Word using C# VS. Now I have a plan to build one for MS teams. So, I checked online and found the documentation.
But I didn't found that how I can add custom UI elements (text, buttons etc.) inside a chat window. For example: Teams suggested replies shows suggestions inside button above the chat textbox.
Do anybody have an idea that how I can achieve this one?
you might want to start with these docs:
build a command-response bot that you can customize the messages in chat window to either text or adaptive cards (on which you can have buttons).
and notification bot doc which has more information on customizing adaptive card for Teams apps.
there are also docs on message extension on the same doc site, you can take a look to decide which is what you want to build.
I have created a Bot and uploaded it to MS teams. I have already added the icons in the manifest.The uploaded icons appear only at the heading but not in the conversation.
I've heard this is apparently a "bug" that the relevant Microsoft team is dealing with, but, basically, you need to ALSO set the icon in the Azure portal, in your bot registration. Go to the Settings screen, and there's an option to upload an icon - you can use the same one you used in your Teams manifest of course.
Don't forget to click the "Save" button at the top of the settings screen when you're done. See example screenshot:
I forgot to add, very importantly, that this can take up to 24 hours for the change to come through, I think
Hi I'm writing a Facebook Messenger bot that has a few nice looking card actions - that end up taking up a large portion of the chat window. The problem is that the soft keyboard on phones such as iPhone and Android still displays, constraining the visible area of the chat to an even smaller window, obscuring the card.
Is there a way I can send some sort of specific JSON down in my bot messages to indicate to FB Messenger that the keyboard should be hidden until the user clicks back into the message entry area?
Thanks.
One option could be is using the Persist Menu feature and set the composer_input_disabled property to true.
From the docs:
Disables the Messenger composer field if set to true. This means your
bot can only be interacted with via the persistent menu, postbacks,
buttons, and webviews.
Some useful links:
Microsoft Bot Framework .NET - Add a persistent menu to your Facebook Messenger chatbot
Adding Menu and Buttons to your messenger bot
Add Persistent Menu and Buttons to your messenger bot
As Ezequiel pointed out. You can use the persistent menu feature for Facebook Messenger. If you are using the .NET SDK check out the sample I created:
https://github.com/FranciscoPonceGomez/Persistent-Menu-Facebook
For my WP7 app, I have an associated facebook page. How should I go about adding a Like button in my WP7 app that the users can click to do a LIKE? Do I create a webbrowser control that opens webpage containing the LIKE button?
Looking for some ideas. Thanks.
For applications I made, I created a WebBrowserTask and redirected the user to the facebook page URL.
With current APIs you can not run Facebook tasks. Hopefully in future :)