Skip to content
Merged
Show file tree
Hide file tree
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
Expand Up @@ -62,3 +62,27 @@ app.OnMessage(async context =>
);
});
```

<!-- targeted-preview-note -->

:::tip[.NET]
In .NET, targeted message APIs are marked with `[Experimental("ExperimentalTeamsTargeted")]` and will produce a compiler error until you opt in. Suppress the diagnostic inline with `#pragma warning disable ExperimentalTeamsTargeted` or project-wide in your `.csproj`:

```xml
<PropertyGroup>
<NoWarn>$(NoWarn);ExperimentalTeamsTargeted</NoWarn>
</PropertyGroup>
```
:::

<!-- reactions-preview-note -->

:::tip[.NET]
In .NET, reaction APIs are marked with `[Experimental("ExperimentalTeamsReactions")]` and will produce a compiler error until you opt in. Suppress the diagnostic inline with `#pragma warning disable ExperimentalTeamsReactions` or project-wide in your `.csproj`:

```xml
<PropertyGroup>
<NoWarn>$(NoWarn);ExperimentalTeamsReactions</NoWarn>
</PropertyGroup>
```
:::
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ async def handle_message(ctx: ActivityContext[MessageActivity]):
.with_recipient(ctx.activity.from_, is_targeted=True)
)
```

<!-- targeted-preview-note -->

<!-- reactions-preview-note -->
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ app.on('message', async ({ send, activity }) => {
);
});
```

<!-- targeted-preview-note -->

<!-- reactions-preview-note -->
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,18 @@ Targeted messages, also known as ephemeral messages, are delivered to a specific
To send a targeted message when responding to an incoming activity, use the <LanguageInclude section="targeted-method-name" /> method with the recipient account and set the targeting flag to true.

<LanguageInclude section="targeted-send-example" />

### Targeted messages in preview
<LanguageInclude section="targeted-preview-note" />

## Reactions

:::info[Preview]
Reactions are currently in preview.
:::

Reactions allow your agent to add or remove emoji reactions on messages in a conversation. The reactions client is available via the API client.

### Reactions in preview

<LanguageInclude section="reactions-preview-note" />
Loading