Im using the webchat control of the botframework. I tried setting the username via the iframe using querystring.
https://webchat.botframework.com/embed/YOUR_BOT_ID?s=YOUR_BOT_SECRET&username=DESIRED_USERNAME&userid=DESIRED_USERID
unfortunately during the
(message.Type == ActivityTypes.ConversationUpdate)
if (message.MembersAdded.Any(m => m.Id == message.Recipient.Id))
{
var connector = new ConnectorClient(new Uri(message.ServiceUrl));
var response = message.CreateReply();
string replyMessage = string.Empty;
if (string.IsNullOrEmpty(message.From.Name))
{
replyMessage += "Hello there!\n\n";
}
else
{
replyMessage += "Hello "+ message.From.Name +"\n\n";
}
My message.from.name is empty. Im confused, because when i send a message it appears that my username is already set. How come during the conversation update it is still blank?