Invalid actor type for BOT messages in Freshchat

Hi Team,

We are integrating a third party chat application with Frehschat and also deployed couple of versions in Freshworks Marketplace. In this integration we have enabled a BOT feature for a Topic or channel.

Whenever the user sends their message the bot is getting triggered but it has an invalid actor_type in it’s value that is, null.

Due to this the bot message are not reached to the end user. We have to use an additional filter for null , in order to pass this bot message, which is misleading for developers.

Our actual code before bot issue

if (actorType == "agent" || actorType == "bot") {}

After bot issue

if (actorType == "agent" || actorType == "bot" || actorType == null) {}

Kindly provide a fix or solution for this, since we are SI partner with Freshworks and are working with couple of chat integration other than this chat application.

@Raviraj @zach_jones_noel @Saif