UCWA: integrating advanced chat options

蓝咒 提交于 2019-12-12 01:47:00

问题


I have created a simple chatting application using which two users can chat with each other. Currently i'm able to send only simple and plain text messages. Next as an enhancement, i would like to send formatted text messages. Eg. Changing the font, text style, size, bold, italics, etc. Also i would like to integrate file sharing while chatting.

So i would like to know:

  • If ucwa Api has a provision for sending and receiving formatted text messages?

  • Is there a provision to share files as well.

Since Microsoft Lync provides sending and receiving formatted text, i think UCWA should also do the same.

If there is no such provision, then could anyone suggest some ideas on this? (some 3rd party libraries paid/free doesn't matter)

I have gone through some of ucwa documentation but couldn't find anything relevant.

Any suggestion shall be of great help.

Thanks in advance.


回答1:


If ucwa Api has a provision for sending and receiving formatted text messages?

The formatted messages you see in the Lync Client are really Html formatted messages which Ucwa also supports. To enable the receiving of these type of messages there are two options. The application can either include it in the request to makeMeAvailable providing supportedMessageFormats or by updating the communication via a Put request with the similar information.

At this point the application should be able to receive Html-formatted messages and send messages via sendMessage using the Content-Type text/html.

Is there a provision to share files as well?

Currently dataCollaboration, file-sharing, is not available.



来源:https://stackoverflow.com/questions/30702542/ucwa-integrating-advanced-chat-options

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!