Returns the current agent typing boolean state according to the latest events received.

Sample Code

var typing = chat.getAgentTyping();