Skip to content

[Sample] Add time off request card and welcome message middleware#387

Merged
rido-min merged 3 commits intonext/corefrom
next/core-teamsbot-sample
Mar 23, 2026
Merged

[Sample] Add time off request card and welcome message middleware#387
rido-min merged 3 commits intonext/corefrom
next/core-teamsbot-sample

Conversation

@rido-min
Copy link
Copy Markdown
Member

  • Added a new Adaptive Card for time off requests and updated the "card" handler to use it.
  • Introduced WelcomeMessageMiddleware to send a help message on first interaction; refactored "help" handler to reuse this message.
  • Improved "hello" handler to mention the user and show typing.
  • Commented out the catch-all echo handler to reduce noise.
  • Added OnMessageSubmitAction handler to process Adaptive Card submissions.
  • Minor cleanups: removed verbose logging and improved code structure.

- Added a new Adaptive Card for time off requests and updated the "card" handler to use it.
- Introduced WelcomeMessageMiddleware to send a help message on first interaction; refactored "help" handler to reuse this message.
- Improved "hello" handler to mention the user and show typing.
- Commented out the catch-all echo handler to reduce noise.
- Added OnMessageSubmitAction handler to process Adaptive Card submissions.
- Minor cleanups: removed verbose logging and improved code structure.
Comment thread core/src/Microsoft.Teams.Bot.Core/ConversationClient.cs Outdated
@rido-min rido-min added the CORE label Mar 20, 2026
@rido-min rido-min changed the title Add time off request card and welcome message middleware [Sample] Add time off request card and welcome message middleware Mar 20, 2026
Copy link
Copy Markdown
Collaborator

@singhk97 singhk97 left a comment

Choose a reason for hiding this comment

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

one nit but otherwise looks good

Comment thread core/src/Microsoft.Teams.Bot.Core/ConversationClient.cs Outdated
@rido-min rido-min merged commit 79ad3d1 into next/core Mar 23, 2026
7 checks passed
@rido-min rido-min deleted the next/core-teamsbot-sample branch March 23, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants