Forum Discussion
Issue on PopUp Dialog on installing bot app on teams
I'm building a bot/message extension app using Teams Toolkit in Typescript. I want the user to get a config popup which user can enter the API key and I can store the key in some storage.
I refer to this doc - Bot configuration experience - Teams | Microsoft Learn
I have tried this code -
But I'm getting error - Property 'responseType' is missing in type '{ config: { value: { card: Attachment; height: number; width: number; title: string; }; type: string; }; }' but required in type 'ConfigResponse'.
So, I modified it like this
Now I'm getting error <BotError>Error when processing invoke response: Config or Config Type is missing in Bot Config response in the console of the browser.
Please help on this.
- Dinesh-MSFTMicrosoft
Hi XDeveloper29 - Thanks for raising the query.
We will look into it and let you know the updates.
Update: Could you please refer this Microsoft-Teams-Samples/samples/bot-configuration-app/nodejs at main · OfficeDev/Microsoft-Teams-Samples (github.com) sample and modify the Json change as per your requirement.