1
The documentation doesn’t help much but I think you’re looking for the property IDialogContext.Activity.From.Name
.
private async Task MessageReceivedAsync(IDialogContext context, IAwaitable<object> result)
{
string Nome_do_Usuario = context.Activity.From.Name;
}
It worked, Thank you Augusto Vasques!
– Mateus Rodrigues
Opa @Mateusrodrigues. If you solved your problem you could kindly accept Augusto’s answer as correct?
– adamasan