Hello,
Thanks for the your patience. This can be done in defaultstyleoption.js file. You can also customize other item according to your requirement.
Please see the 139 line of the file.
Regards,
Yutong
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am building a chat application using botframework v4 with .net core. I want to implement customized typing indicator. Currently I am using below code and it is showing typing indicator like below image.
public async override Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken = default)
{
ITypingActivity replyActivity = Activity.CreateTypingActivity();
await turnContext.SendActivityAsync((Activity)replyActivity);
await Task.Delay(5000);
await base.OnTurnAsync(turnContext, cancellationToken);
}
But instead of showing this typing symbol(...), I need to show some customized message (like bot is typing) and after getting bot response indicator need to remove automatically.
Hello,
Thanks for the your patience. This can be done in defaultstyleoption.js file. You can also customize other item according to your requirement.
Please see the 139 line of the file.
Regards,
Yutong