0

I am using asmack for xmpp connection.I need to send custom attribute with message.

I have to add "alias" attribute.Like this:

<message type="chat" to="admin@localhost/krm11-PC" alias="myalias1" id="aae5a"> 
<body>sd</body> 
</message> 

How can I achive this ?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.