Forum Discussion
tuannh
Jun 05, 2023Copper Contributor
Bot send individual chat to User
Hi Teams, I have Teams tab app and bot using TeamsActivityHandler (Typescript), and I have a logic is MS Bot will send private messages to user (It appears as a chat between bot and user) from Ch...
Meghana-MSFT
Microsoft
Could you please refer this sample which send messages to all the members of the team - https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/nodejs
Please check this document https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/get-teams-context?tabs=typescript which talks about getting Teams specific context for your bot.
Please check this document https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/get-teams-context?tabs=typescript which talks about getting Teams specific context for your bot.
tuannh
Jun 06, 2023Copper Contributor
Thank for your support, but my logic is bot send private message to user (only in a chat between bot and user), not in group.
- Meghana-MSFTJun 06, 2023MicrosoftIt seems that your question got cut off after "(not", can you please share your exact requirements once again?
- tuannhJun 07, 2023Copper ContributorMy logic is I'm in channel including 5 members, when I send a command like "Message All Member" or another one, the MS BOT will send private message for each user (It appears as a chat between bot and user not in channel)
- Meghana-MSFTJun 08, 2023MicrosoftWe will check this and get back to you.