Core concepts: Persistent Chat

Core concepts

Learn about the foundational Microsoft Lync 2013 SDK objects that make up the programmable components of a Microsoft Lync 2013 Persistent Chat room.

Applies to: Lync 2013 | Lync Server 2013

Watch the video: What’s new with the Lync 2013 Persistent Chat API

Persistent Chat overview

Microsoft Lync 2013 implements a set of Persistent Chat features that replace the Group Chat client, which is part of Microsoft Lync Server 2010. Microsoft Lync 2013 SDK gives you programmatic access to those features through its API.

NoteNote

There are two kinds of chat rooms. A regular chat room accepts messages posted by any member of the chat room. The auditorium chat room lets a presenter post messages to the room and other room participants can only read those messages.

Persistent Chat API features

The following Persistent Chat features can be enabled by using the Lync SDK Persistent Chat extensions.

Feature

Description

Chat room add-in

A chat room add-in is a Silverlight browser extension that is hosted in the Persistent Chat window in an extension pane. Developers use this chat room extension to add powerful custom features to the chat room experience. With an add-in, you can display relevant information from any source that you can access by using add-in logic. Source examples include room message history, Web services such as Bing, or internal company databases.

The chat room add-in is also used to format chat room messages sent by a bot into a human-readable format and displayed in the add-in message area. The add-in can be used to reply to chat room messages, add client message filtering for outgoing messages, or format messages as they are sent to the chat room.

For information about the capabilities of an add-in, see Chat room add-in application in Lync SDK.

Followed room list

Just like Microsoft.Lync.Model.Contact represents a contact in the contact list and Microsoft.Lync.Model.Group.CustomGroup represent custom groups in the contact list, Microsoft.Lync.Model.Room.Room represents a chat room in a contact list. A user automatically joins all chat rooms in the contact list when they sign in to Lync 2013. When joined to a chat room, room message alerts can be displayed according to the user’s preferences.

Chat room message posting

By using the chat room entry API extensions, a user can post messages to any chat room that has granted the user permission to post messages. If the room is an auditorium, the user must also be a presenter.

Chat room search

The chat room search feature lets you create a room search UI that searches through all chat rooms provisioned on a server running Microsoft Lync Server 2013 Persistent Chat and join any chat room whose membership includes the user.

Persistent Chat message notifications

Persistent Chat message alerts are sent to a signed-in user for any Persistent Chat rooms that are being followed on the user’s client application. You can duplicate the Lync 2013 message alert experience in your client application by listening to message events on any joined room and notifying a user in any way that you choose.

In this section

See also