Skip to content

Commit 87bef51

Browse files
Update send-proactive-messages.md
1 parent a51e407 commit 87bef51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

msteams-platform/bots/how-to/conversations/send-proactive-messages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ After you get the appropriate address information, you can send your message.
9797

9898
## Send the message
9999

100-
Now that you have the right address information, you can send your message. If you're using the SDK, you must use the `app.Send()` method, and the `conversationId` and `tenantId` to make a direct API call. To send your message, set the `conversationParameters`. See the [samples](#samples) section or use one of the samples listed in the [code sample](#code-sample) section.
100+
Now that you have the right address information, you can send your message. If you're using the SDK, you must use the `app.Send()` method, and the `conversationId` to make a direct API call. To send your message, set the `conversationParameters`. See the [samples](#samples) section or use one of the samples listed in the [code sample](#code-sample) section.
101101

102102
> [!NOTE]
103103
> Teams doesn't support sending proactive messages using email or User Principal Name (UPN).
@@ -182,7 +182,7 @@ To update or delete a proactive message sent by a notification only bot:
182182

183183
1. Keep track of the sent messages by storing their message IDs or conversation references when sending the proactive message.
184184

185-
1. Use `context.Api.Conversations.Activities.UpdateAsync(conversationId, activityId, updatedActivity)` or `context.Api.Conversations.Activities.UpdateAsync(...)` methods to update or delete the original message.
185+
1. Use `context.Api.Conversations.Activities.UpdateAsync(conversationId, activityId, updatedActivity)` or `context.Api.Conversations.Activities.DeleteAsync(conversationId, activityId)` methods to update or delete the original message.
186186

187187
### Scheduled messages
188188

0 commit comments

Comments
 (0)