Skip to content

Move IsTargeted property from Activity to Account#477

Merged
heyitsaamir merged 1 commit intomicrosoft:mainfrom
ShanmathiMayuramKrithivasan:shmayura/targeted-messages-1.5
Mar 23, 2026
Merged

Move IsTargeted property from Activity to Account#477
heyitsaamir merged 1 commit intomicrosoft:mainfrom
ShanmathiMayuramKrithivasan:shmayura/targeted-messages-1.5

Conversation

@ShanmathiMayuramKrithivasan
Copy link
Copy Markdown
Contributor

@ShanmathiMayuramKrithivasan ShanmathiMayuramKrithivasan commented Mar 20, 2026

Moved IsTargeted from Activity to Account - making targeting a recipient‑level property, Recipient.IsTargeted provides a single, consistent model across both User to Bot and Bot to User flows in next phase of targeted messaging. This also enables the flag to be serialized for compat layers and keeps SDK behavior aligned with underlying service flows.

Updated routing logic to read from Recipient.IsTargeted instead of Activity.IsTargeted

@heyitsaamir
Copy link
Copy Markdown
Collaborator

Moved IsTargeted from Activity to Account Updated routing logic to read from Recipient.IsTargeted instead of Activity.IsTargeted

@ShanmathiMayuramKrithivasan Can you include reasoning on why this was important?

Copy link
Copy Markdown
Collaborator

@heyitsaamir heyitsaamir left a comment

Choose a reason for hiding this comment

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

Tested. Do the docs need changing?

@heyitsaamir heyitsaamir merged commit 2ddb91f into microsoft:main Mar 23, 2026
4 checks passed
@heyitsaamir heyitsaamir mentioned this pull request Mar 25, 2026
2 tasks
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.

2 participants