Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc Improvement][Update channel messages with RSC][3362984] #12223

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
---
title: Get All Conversation Messages with RSC
title: Get All Conversation Messages for Bot and Agents
author: surbhigupta12
description: Enable bots to receive all conversation messages without being @mentioned using RSC permissions. Read on webApplicationInfo or authorization section in manifest.
ms.topic: conceptual
ms.localizationpriority: medium
ms.date: 01/23/2025
---

# Receive conversation messages with RSC
# Receive all channel or chat messages for bots and agents

Getting all messages, even without @mentions, helps both bots and human agents. With full context, agents can address user concerns proactively, give more personalized responses, and solve issues faster. This also makes it easier for bots and human agents to work together, ensuring smooth transitions and quicker resolutions.

You can filter messages and handle only those messages that @mention the bot. This method can help with performance by reducing the number of messages to process. Focusing on @mentions lets the bot address specific user requests, ensuring timely and relevant responses. By doing this, developers can customize the bot's behavior to fit specific needs or use cases.

---

The resource-specific consent (RSC) permissions model, originally developed for Microsoft Teams Graph APIs, is being extended to bot scenarios. With RSC, conversation owners can consent for a bot to receive all user messages in standard channels and chats without being @mentioned. This can be enabled by specifying the `ChannelMessage.Read.Group` or `ChatMessage.Read.Chat` permission strings in your app manifest (previously called Teams app manifest). Conversation owners can grant consent during the app installation or upgrade process after the app updates are published. For more information about enabling RSC for your app and inside of a tenant, see [resource-specific consent](../../../graph-api/rsc/resource-specific-consent.md).

Expand Down