Added rudimentary chatstate support which doesn't work and 1 second delay