Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
hardmanii #1
Member since Apr 2011 · 20 posts · Location: seoul
Group memberships: Members
Show profile · Link to this post
Subject: Check if a user is typing using XMPP ?
hi.

How to Check if a user is typing ?

i want to check typing.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
XEP-0085: Chat State Notifications is what you are looking for.

To send a composing state with your message (user is typing) use the following code:

  1. var msg = new Message() {To = "user@server.com", Type = MessageType.chat};
  2. msg.Chatstate = Matrix.Xmpp.Chatstates.Chatstate.composing;

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS