Skip to content

Commit 6307fb5

Browse files
committed
Remove javascript reference
1 parent b288bdd commit 6307fb5

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

articles/communication-services/quickstarts/chat/quickstart-botframework-integration.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ string messageId = sendChatMessageResult.Id;
262262

263263
### Receive chat messages from a chat thread
264264

265-
You can get chat messages by polling the `GetMessages` method on the chat thread client at set intervals:
265+
Check the list of messages for the bot's echo reply to "Hello World" by polling the `GetMessages` method on the chat thread client at set intervals:
266266

267267
```csharp
268268
AsyncPageable<ChatMessage> allMessages = chatThreadClient.GetMessagesAsync();
@@ -272,20 +272,6 @@ await foreach (ChatMessage message in allMessages)
272272
}
273273
```
274274

275-
Check the list of messages for the bot's echo reply to "Hello World".
276-
277-
You can use JavaScript or the Azure mobile SDKs to subscribe to incoming message notifications:
278-
279-
```javascript
280-
// Open notifications channel
281-
await chatClient.startRealtimeNotifications();
282-
// Subscribe to new notifications
283-
chatClient.on("chatMessageReceived", (e) => {
284-
console.log("Notification chatMessageReceived!");
285-
// Your code here
286-
});
287-
```
288-
289275
### Clean up the chat thread
290276

291277
When you're finished using the chat thread, delete the thread:

0 commit comments

Comments
 (0)