Skip to content

Add proactive messaging sample with server integration#494

Merged
axelsrz merged 4 commits intomainfrom
demo/481-proactive
Jul 28, 2025
Merged

Add proactive messaging sample with server integration#494
axelsrz merged 4 commits intomainfrom
demo/481-proactive

Conversation

@rido-min
Copy link
Copy Markdown
Member

Introduce a sample application demonstrating proactive messaging capabilities for Teams and WebChat, including server integration for sending proactive messages.

@rido-min rido-min marked this pull request as ready for review July 28, 2025 17:18
Copilot AI review requested due to automatic review settings July 28, 2025 17:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a sample application demonstrating proactive messaging capabilities for Teams and WebChat channels, allowing bots to send messages to users outside of the normal conversation flow. The sample includes server endpoints that can trigger proactive messages and updates the CloudAdapter to properly handle connector client initialization for proactive scenarios.

  • Added a comprehensive proactive messaging sample with support for both Teams and WebChat channels
  • Enhanced CloudAdapter to properly initialize connector clients for proactive messaging scenarios
  • Updated test expectations to reflect the additional connector client creation calls

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
samples/basic/proactive.ts New sample application demonstrating proactive messaging with server endpoints for Teams and WebChat
packages/agents-hosting/src/cloudAdapter.ts Enhanced connector client initialization for proactive messaging scenarios
packages/agents-hosting/test/hosting/adapter/cloudAdapter.test.ts Updated test expectations for additional connector client creation calls

Comment thread samples/basic/proactive.ts
Comment thread samples/basic/proactive.ts
Comment thread samples/basic/proactive.ts
Comment thread samples/basic/proactive.ts
Comment thread samples/basic/proactive.ts
Comment thread samples/basic/proactive.ts
@axelsrz axelsrz merged commit e9c2a46 into main Jul 28, 2025
7 checks passed
@axelsrz axelsrz deleted the demo/481-proactive branch July 28, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants