Conversation
user_typing appears to be the event type for when a user is typing in a channel, and this class is being used to send the I am typing message - whose type is "typing"
…numedia#203) filled in/renamed the UserTyping method so it matches the reaction/message ones. This now receives the events when a user is typing in a channel
|
Hey TriggerAu, I'm not sure I understand the point of this PR other than to separate the receiving of this message from the sending of this message? I don't mind the |
|
Thanks for lookingIll try and clarify how I got there. The problem I struck was that on calling SendTyping the packet sent to the slackApi contained the message "user_typing" as the type to slack. It appeared to me that this was due to the WebSocketMessages class Thus I split the sending and receiving type's to different classes. Hope that clarifies it |
Adjusted the routing on the Typing class to fix the SendTyping call and added a new class to receive the "user_typing" messages. For the second one I renamed the empty UserTyping method but maintained the scope etc
Hope the structure is good and if code comments are helpful just let me know
Relates/Fixes bug #203 that I logged when finding it