Skip to content
Closed
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
4 changes: 2 additions & 2 deletions articles/v4sdk/bot-builder-send-welcome-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ class MainDialog {
{
// The channel should send the user name in the 'From' object
let userName = turnContext.activity.from.name;
await turnContext.sendActivity("You are seeing this message because this was your first message ever sent to this bot.");
await turnContext.sendActivity(`It is a good practice to welcome the user and provdie personal greeting. For example, welcome ${userName}.`);
// Call the welcome message
await this.sendWelcomeMessage(turnContext);

// Set the flag indicating the bot handled the user's first message.
await this.welcomedUserPropery.set(turnContext, true);
Expand Down