Home
MatriX vNext
MatriX XMPP SDK ▼
Forum
About us ▼
Contact
Not logged in.
·
Lost password
·
Register
Forum
Search
Members
Forum:
MatriX and XmppDotNet
Check if a user is typing using XMPP ?
hardmanii
2011-10-25, 09:39
#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.
Alex
2011-10-25, 12:33
#2
Member since Feb 2003 ·
4449
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:
var
msg
=
new
Message
(
)
{
To
=
"user@server.com"
, Type
=
MessageType
.
chat
}
;
msg
.
Chatstate
=
Matrix
.
Xmpp
.
Chatstates
.
Chatstate
.
composing
;
Alex
Close
Smaller –
Larger +
Reply to this post:
Verification code:
Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys:
Special characters:
Forum:
MatriX and XmppDotNet