Not Receiving Typing Activity in Microsoft Bot Framework

Hugo 0 Reputation points
2024-07-23T11:37:07.76+00:00

Hello,

I'm currently working on a bot using the Microsoft Bot Framework and am hosting it on Azure. Everything seems to be working fine, and has been for a while, except when trying to implement live typing indicators when talking with users.

I've researched thoroughly and searched for numerous solutions but none seem to work. Overriding OnTypingActivityAsync or OnTurnAsync doesn't work for me as I'm not receiving any typing activities to begin with, so turnContext.Activity.Type is never ActivityTypes.Typing. I'm using ngrok during development and I'm seeing that I'm simply not getting any posts to /api/messages when typing.

I've tried getting it to work on my actual bot application, on a completely new bot (core bot, echo bot), on old teams and on new teams.

What am I missing here?

Thanks in advance.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
808 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,660 questions
0 comments No comments
{count} votes