Forum Discussion
dmsaprykin
Jul 28, 2022Copper Contributor
Add app to team after it was added to personal scope
Hi, Our app needs teams scope without which it is useless. However personal scope is also needed to show installation steps and then show some stats in tabs. So in app store our app provides two opt...
- Aug 01, 2022dmsaprykin - These are the ideal scenarios and yes, we need to handle the bot installation event and need to check the condition for conversation type = "Personal" or "Team" and take a decision to send the card in personal or Teams scope accordingly.
dmsaprykin
Copper Contributor
Thank you Chetan,
That's the problem, I need static tabs and teams/personal bot. Personal bot more for welcoming user and onboarding experience. So either Add or Add to teams can be clicked, but since our bot doesn't make sense without a team, I have to proactively install (if not installed previously) to a team user selects during onboarding chat. And I wonder if that's acceptable solution.
Main issue is when user clicks Add to team, I receive two installation events, personal first and channel second. In that case I send user a message — you're all set, bot is team A, channel B. But if Add button is clicked, I receive only one event and need to set some kind of timeout when I check if bot is not in the team so I send different onboarding flow.
Just trying to understand that that's the only option for my scenario.
That's the problem, I need static tabs and teams/personal bot. Personal bot more for welcoming user and onboarding experience. So either Add or Add to teams can be clicked, but since our bot doesn't make sense without a team, I have to proactively install (if not installed previously) to a team user selects during onboarding chat. And I wonder if that's acceptable solution.
Main issue is when user clicks Add to team, I receive two installation events, personal first and channel second. In that case I send user a message — you're all set, bot is team A, channel B. But if Add button is clicked, I receive only one event and need to set some kind of timeout when I check if bot is not in the team so I send different onboarding flow.
Just trying to understand that that's the only option for my scenario.
ChetanSharma-msft
Aug 01, 2022Microsoft
dmsaprykin - These are the ideal scenarios and yes, we need to handle the bot installation event and need to check the condition for conversation type = "Personal" or "Team" and take a decision to send the card in personal or Teams scope accordingly.