Others

How to Customize the Typing Indicator in a C# Azure Bot

Steven ParkerSteven Parker Nov 3, 2026 868 views

Question details

The user wants to display a custom typing indicator message, such as 'The bot is typing', in a C# Azure Bot application and have it remove automatically.

How to Customize the Typing Indicator in a C# Azure Bot
Product
Azure Bot Service
Device & OS
not provided
Scenario
Developing a chatbot using C# and .NET Core and customizing the standard typing activity in Bot Framework v4.
Observed behavior
The developer needs guidance to replace the standard typing activity with a custom message that appears and disappears automatically as the bot processes requests.
Before you start

Ensure you have access to your Bot Framework v4 source code and are familiar with C# and .NET Core development environments before modifying bot activities.

Solution 1Recommended

Consult Microsoft Q&A Community for Azure Bot Support

Since customizing the typing indicator requires specific Azure Bot Service development guidance, posting to the official Microsoft Q&A community is the recommended approach to get exact code snippets.

The standard `ActivityTypes.Typing` behavior is handled differently across various channels (like Teams, Slack, or Web Chat). Implementing a completely custom textual indicator often requires channel-specific workarounds.

1
Navigate to Microsoft Q&A

Open your web browser and go to the official Microsoft Q&A website.

2
Select the correct category

Search for and select the 'Azure Bot Service' category to ensure your programming question reaches the right Microsoft engineers and community experts.

3
Post your coding question

Explain that you are using Bot Framework v4 in C# and .NET Core, and ask for code examples to send a custom message like 'The bot is typing...' and how to automatically delete or update it once the bot's processing is complete.

Consult Microsoft Q&A Community for Azure Bot Support
Include Your Code Context: When asking on Microsoft Q&A, include the specific channels your bot is deployed to, as typing activity capabilities vary by channel.
Free Microsoft Office alternative

Focus on Your Code, Let WPS Office Handle Your Documentation

While developing sophisticated Azure bots, you likely need a reliable tool for writing technical documentation, flowcharts, and tracking project tasks. WPS Office is a lightweight, fully compatible alternative to Microsoft Office that is perfect for software developers.

Highly compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight software that won't consume heavy system resources while your IDEs and emulators are running.Built-in PDF editing tools for reading, annotating, and merging API documentation.Cross-platform support for Windows, macOS, Linux, iOS, and Android to keep your development notes synced everywhere.
microsoft office alternative - wps office

Frequently Asked Questions

Can I change the default typing animation in Bot Framework web chat?

Yes, you can customize the Web Chat UI by modifying the styling options or using custom middleware in the Web Chat JavaScript initialization code to change how the typing indicator renders visually.

Why does the typing indicator persist in my Azure Bot without disappearing?

If a typing indicator doesn't disappear, it usually means the bot failed to send a follow-up message or encountered an unhandled error before completing the turn. Ensure your bot handles exceptions gracefully and always sends a concluding reply.

Does the Bot Framework v4 support typing activities on all channels?

No, support for typing indicators depends heavily on the specific channel (e.g., Microsoft Teams, Slack, Web Chat). Not all channels natively support or display the `ActivityTypes.Typing` activity.