Skip to content

Commit b8a886d

Browse files
author
=
committed
add sample
1 parent d335e2e commit b8a886d

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

docs/LIVESTREAMING.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,20 @@ To simplify this documentation, we are using the term "bot" instead of "copilot"
6565
Bot developers would need to implement the livestreaming as outlined in this section. The implementation below will enable livestreaming to both Azure Bot Services and Teams.
6666

6767
> [!NOTE]
68-
> In the scenarios below, the livestream metadata is inside the `channelData` field. BotFramework-WebChat checks both `channelData` and the first element of the `entities` field for livestreaming metadata. It will appear in different places depending on the platform used to communicate with BotFramework-WebChat
68+
> In the scenarios below, the livestream metadata is inside the `channelData` field. BotFramework-WebChat checks both `channelData` and the first element of the `entities` field for livestreaming metadata. It will appear in different places depending on the platform used to communicate with BotFramework-WebChat:
69+
>
70+
> ```json
71+
> {
72+
> "entities": [
73+
> {
74+
> "streamSequence": 1,
75+
> "streamType": "streaming"
76+
> }
77+
> ],
78+
> "text": "A quick",
79+
> "type": "typing"
80+
> }
81+
> ```
6982
7083
### Scenario 1: Livestream from start to end
7184

0 commit comments

Comments
 (0)