Check the bot's global pause status
How to tell if bot is activeThe
activeresponse parameter indicates the bot pause/unpause status. This value can be set via API or bot settings.The
within_active_hoursparameter indications if the bot is currently within it's active hours (for reference only configured in bot settings). For example, perhaps your bot is only active Monday - Friday, 9am to 5pm.If either value is
falsethen the bot will be silent.
