I have a simple code to test bot responses in my RoodDialog.cs code:
if (activity.Text.Trim().ToLower() == "--hi")
{
IMessageActivity replyMessage = context.MakeMessage();
replyMessage.Text = $"Hello {activity.From.Name}";
await context.PostAsync(replyMessage);
}
Works as expected in Skype, Emulator and Facebook Messenger, however sends duplicate response messages ("Hello {Name}") in Slack.
I think its either Slack configuration or a Bot Framework issue. Anyone seen and resolved this?
Thanks