May 26 2020 07:54 AM
I want to make a message extension that simply sends the message text to the Message Handler endpoint configured in the associated bot. I would like to avoid showing the user additional popups as they provide no value in my use case.
The "App Studio" and the schema requires some additional parameter to be present
Is there not a way to simply have the user click on the message extension and that be the totality of the user interaction required?
May 26 2020 08:05 AM
May 26 2020 09:35 AM
@Lewis-H. Thanks for the reply but I think you are misreading my question. The popup is part of the teams flow right now, and I believe mandatory.
Even if changing this setting in Chrome prevented the popup it would break the teams logic flow as far as I can tell. Also I wouldn't be able to force every customer who downloads the app to enable this. In addition, I assume most users would be on Mobile or use the Teams dedicated app.
May 26 2020 07:51 PM
@adamhouck A Message Extension can have two types of commands. Search-based and action- based. A search based command will let you search through a list and send the messages inside the compose box. An action based command opens up a popup that will take some action from the Message-Extension. If you do not want to have the pop-up experience you could use only search based commands.
Jun 02 2020 01:41 PM - edited Jun 02 2020 01:42 PM
I was able to get the desired functionality by having the following in my manifest.json file
"composeExtensions": [
{
"botId": "--Bot Id Here--",
"canUpdateConfiguration": true,
"commands": [
{
"id": "commandId",
"type": "action",
"title": "Command Title",
"description": "",
"initialRun": true,
"fetchTask": false,
"context": [
"message"
]
}
]
}
],
Dec 28 2021 10:46 PM
@adamhouckHi, i have created action based messaging extension in the same way as your post, it is working fine when i use the extension in group-chat/channel/team, but for one to one chat i'm getting both the popup and the submit response [which is the card pasted on message text area]. Could you please help me regarding this issue?
Feb 14 2022 01:22 AM
yes, I am also facing same problem. Works fine in team/channel chat but not working in personal chat.