Skip to content

Commit c74b6e4

Browse files
authored
Release 'live' 10-18-2018 (#1016)
1 parent aef7d80 commit c74b6e4

22 files changed

+145
-150
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Thank you for your interest in Bot Framework documentation!
1313

1414
* [Ways to contribute](#ways-to-contribute)
1515
* [Code of conduct](#code-of-conduct)
16-
* [About your contributions to Bot Framework content](#about-your-contributions-to-Bot-Framework-content)
16+
* [About your contributions to Bot Framework content](#about-your-contributions-to-bot-framework-content)
1717
* [Repository organization](#repository-organization)
1818
* [Use GitHub, Git, and this repository](#use-github-git-and-this-repository)
1919
* [How to use markdown to format your topic](#how-to-use-markdown-to-format-your-topic)

articles/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
### [Use dialogs to manage complex conversation flow](v4sdk/bot-builder-dialog-manage-complex-conversation-flow.md)
4545
### [Handle user interruptions](v4sdk/bot-builder-howto-handle-user-interrupt.md)
4646
### [Persist data in dialogs](v4sdk/bot-builder-tutorial-persist-user-inputs.md)
47+
### [Create an integrated set of dialogs](v4sdk/bot-builder-compositcontrol.md)
4748
### [Use LUIS for language understanding](v4sdk/bot-builder-howto-v4-luis.md)
4849
### [Use QnA Maker to answer questions](v4sdk/bot-builder-howto-qna.md)
4950
### [Add authentication to your bot](v4sdk/bot-builder-authentication.md)

articles/bot-service-channel-connect-kik.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,33 @@ ms.date: 12/13/2017
1414

1515
You can configure your bot to communicate with people using the Kik messaging app.
1616

17-
[!INCLUDE [Channel Inspector intro](~/includes/snippet-channel-inspector.md)]
18-
1917
## Install Kik on your phone
2018

21-
If you don't have Kik installed on your phone, you can install it via your phone's app store or at <a href="https://www.kik.com/" target="_blank">the Kik website</a>.
19+
If you don't have Kik installed on your phone, install it via your phone's app store or at <a href="https://www.kik.com/" target="_blank">the Kik website</a>. You'll need to use an existing Kik user account or sign up for an new account.
20+
21+
![Kik sign up](./media/channels/kik-signup.png)
2222

2323
## Log into the dev portal with your mobile phone
2424

25-
<a href="https://dev.kik.com" target="_blank">Log into the Kik portal</a> on your mobile phone.
25+
Use your mobile phone to <a href="https://dev.kik.com" target="_blank">log into the Kik portal</a>. When prompted, _Open this page in "Kik"?_ select **Open**.
26+
27+
![Kik dev portal](./media/channels/kik-dev-portal.png)
2628

2729
## Follow the bot setup process
2830

29-
Give the bot a name.
31+
Give your bot a name.
3032

31-
![Set up bot](~/media/channels/kik-phone.png)
33+
![Set up bot](./media/channels/kik-phone.png)
3234

3335
## Gather credentials
3436

3537
On the Configuration tab, copy the **Name** and **API key**.
3638

37-
![Copy bot information](~/media/channels/kik-configure.png)
39+
![Copy bot information](./media/channels/kik-configure.png)
3840

3941
## Submit credentials
4042

41-
![Paste credentials](~/media/channels/kik-creds.png)
43+
![Paste credentials](./media/channels/kik-creds.png)
4244

4345
Click **Submit Kik Credentials**.
4446

articles/dotnet/bot-builder-dotnet-sdk-quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This quickstart walks you through building a bot by using the C# template, and t
2525
## Create a bot
2626
Install BotBuilderVSIX.vsix template that you downloaded in the prerequisites section.
2727

28-
In Visual Studio, create a new bot project.
28+
In Visual Studio, create a new bot project using the Bot Builder Echo Bot V4 template.
2929

3030
![Visual Studio project](../media/azure-bot-quickstarts/bot-builder-dotnet-project.png)
3131

articles/includes/snippet-channeldata.md

Lines changed: 91 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -153,121 +153,103 @@ the `payload` object's `response_url` property.
153153
For information about when and how to post a response to the `response_url`, see
154154
<a href="https://api.slack.com/docs/message-buttons" target="_blank">Slack Buttons</a>.
155155

156-
You can create dynamic buttons using the following code:
157-
```cs
158-
private async Task DemoButtonsAsync(IDialogContext context)
156+
You can create dynamic buttons using the following JSON.
157+
158+
```json
159+
{
160+
"text": "Would you like to play a game ? ",
161+
"attachments": [
159162
{
160-
var reply = context.MakeMessage();
161-
162-
string s = @"{
163-
""text"": ""Would you like to play a game ? "",
164-
""attachments"": [
165-
{
166-
""text"": ""Choose a game to play!"",
167-
""fallback"": ""You are unable to choose a game"",
168-
""callback_id"": ""wopr_game"",
169-
""color"": ""#3AA3E3"",
170-
""attachment_type"": ""default"",
171-
""actions"": [
172-
{
173-
""name"": ""game"",
174-
""text"": ""Chess"",
175-
""type"": ""button"",
176-
""value"": ""chess""
177-
},
178-
{
179-
""name"": ""game"",
180-
""text"": ""Falken's Maze"",
181-
""type"": ""button"",
182-
""value"": ""maze""
183-
},
184-
{
185-
""name"": ""game"",
186-
""text"": ""Thermonuclear War"",
187-
""style"": ""danger"",
188-
""type"": ""button"",
189-
""value"": ""war"",
190-
""confirm"": {
191-
""title"": ""Are you sure?"",
192-
""text"": ""Wouldn't you prefer a good game of chess?"",
193-
""ok_text"": ""Yes"",
194-
""dismiss_text"": ""No""
195-
}
196-
}
197-
]
163+
"text": "Choose a game to play!",
164+
"fallback": "You are unable to choose a game",
165+
"callback_id": "wopr_game",
166+
"color": "#3AA3E3",
167+
"attachment_type": "default",
168+
"actions": [
169+
{
170+
"name": "game",
171+
"text": "Chess",
172+
"type": "button",
173+
"value": "chess"
174+
},
175+
{
176+
"name": "game",
177+
"text": "Falken's Maze",
178+
"type": "button",
179+
"value": "maze"
180+
},
181+
{
182+
"name": "game",
183+
"text": "Thermonuclear War",
184+
"style": "danger",
185+
"type": "button",
186+
"value": "war",
187+
"confirm": {
188+
"title": "Are you sure?",
189+
"text": "Wouldn't you prefer a good game of chess?",
190+
"ok_text": "Yes",
191+
"dismiss_text": "No"
198192
}
199-
]
200-
}";
201-
202-
reply.Text = null;
203-
reply.ChannelData = JObject.Parse(s);
204-
await context.PostAsync(reply);
205-
context.Wait(MessageReceivedAsync);
193+
}
194+
]
206195
}
196+
]
197+
}
207198
```
208199

209-
To create interactive menus, use the following code:
210-
```cs
211-
private async Task DemoMenuAsync(IDialogContext context)
212-
{
213-
var reply = context.MakeMessage();
214-
215-
string s = @"{
216-
""text"": ""Would you like to play a game ? "",
217-
""response_type"": ""in_channel"",
218-
""attachments"": [
219-
{
220-
""text"": ""Choose a game to play"",
221-
""fallback"": ""If you could read this message, you'd be choosing something fun to do right now."",
222-
""color"": ""#3AA3E3"",
223-
""attachment_type"": ""default"",
224-
""callback_id"": ""game_selection"",
225-
""actions"": [
226-
{
227-
""name"": ""games_list"",
228-
""text"": ""Pick a game..."",
229-
""type"": ""select"",
230-
""options"": [
231-
{
232-
""text"": ""Hearts"",
233-
""value"": ""menu_id_hearts""
234-
},
235-
{
236-
""text"": ""Bridge"",
237-
""value"": ""menu_id_bridge""
238-
},
239-
{
240-
""text"": ""Checkers"",
241-
""value"": ""menu_id_checkers""
242-
},
243-
{
244-
""text"": ""Chess"",
245-
""value"": ""menu_id_chess""
246-
},
247-
{
248-
""text"": ""Poker"",
249-
""value"": ""menu_id_poker""
250-
},
251-
{
252-
""text"": ""Falken's Maze"",
253-
""value"": ""menu_id_maze""
254-
},
255-
{
256-
""text"": ""Global Thermonuclear War"",
257-
""value"": ""menu_id_war""
258-
}
259-
]
260-
}
261-
]
262-
}
263-
]
264-
}";
200+
To create interactive menus, use the following JSON:
265201

266-
reply.Text = null;
267-
reply.ChannelData = JObject.Parse(s);
268-
await context.PostAsync(reply);
269-
context.Wait(MessageReceivedAsync);
202+
```json
203+
{
204+
"text": "Would you like to play a game ? ",
205+
"response_type": "in_channel",
206+
"attachments": [
207+
{
208+
"text": "Choose a game to play",
209+
"fallback": "If you could read this message, you'd be choosing something fun to do right now.",
210+
"color": "#3AA3E3",
211+
"attachment_type": "default",
212+
"callback_id": "game_selection",
213+
"actions": [
214+
{
215+
"name": "games_list",
216+
"text": "Pick a game...",
217+
"type": "select",
218+
"options": [
219+
{
220+
"text": "Hearts",
221+
"value": "menu_id_hearts"
222+
},
223+
{
224+
"text": "Bridge",
225+
"value": "menu_id_bridge"
226+
},
227+
{
228+
"text": "Checkers",
229+
"value": "menu_id_checkers"
230+
},
231+
{
232+
"text": "Chess",
233+
"value": "menu_id_chess"
234+
},
235+
{
236+
"text": "Poker",
237+
"value": "menu_id_poker"
238+
},
239+
{
240+
"text": "Falken's Maze",
241+
"value": "menu_id_maze"
242+
},
243+
{
244+
"text": "Global Thermonuclear War",
245+
"value": "menu_id_war"
246+
}
247+
]
248+
}
249+
]
270250
}
251+
]
252+
}
271253
```
272254

273255
## Create a Facebook notification
@@ -413,4 +395,4 @@ This snippet shows an example of the `channelData` property for a native Kik mes
413395
## Additional resources
414396

415397
- [Entities and activity types](../bot-service-activities-entities.md)
416-
- [Bot Framework Activity schema](https://github.com/Microsoft/BotBuilder/blob/hub/specs/botframework-activity/botframework-activity.md)
398+
- [Bot Framework Activity schema](https://aka.ms/botSpecs-activitySchema)

articles/javascript/bot-builder-javascript-quickstart.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: jonathanfingold
77
manager: kamrani
88
ms.topic: article
99
ms.prod: bot-framework
10-
ms.date: 09/23/2018
10+
ms.date: 10/15/2018
1111
monikerRange: 'azure-bot-service-4.0'
1212
---
1313

@@ -22,6 +22,7 @@ This quickstart walks you through building a bot by using the Yeoman Bot Builder
2222
- [Visual Studio Code](https://www.visualstudio.com/downloads)
2323
- [Node.js](https://nodejs.org/)
2424
- [Yeoman](http://yeoman.io/), which can use a generator to create a bot for you
25+
- [git](https://git-scm.com/)
2526
- [Bot Framework Emulator](https://github.com/Microsoft/BotFramework-Emulator)
2627
- Knowledge of [restify](http://restify.com/) and asynchronous programming in JavaScript
2728

12.2 KB
Loading
168 KB
Loading
-40.3 KB
Loading
56.4 KB
Loading

0 commit comments

Comments
 (0)