Closed themodernpk closed 6 years ago
Dont see room in your code. But it should be.
chatManager.connect({
delegate: {
userStartedTyping: (room, user) => {
console.log(User ${user.name} started typing
);
}
@alexey13 I was referring to your documentation https://i.imgur.com/2S3T5nO.png
You used it in wrong place. With room in ChatManagerDelegate. Without room in RoomDelegate
https://docs.pusher.com/chatkit/reference/javascript#receiving-typing-indicator-events https://docs.pusher.com/chatkit/reference/javascript#chatmanagerdelegate
Oh okay, got it. Thanks. Although, I still feel the documents is complicated & sometimes confusing.
Here are the screenshots to help: https://i.imgur.com/J6Y62Hj.png https://i.imgur.com/leIJjyW.png
Let me know if you can help