Chat rooms
Learn about the Persistent Chat followed room feature as it's implemented in Microsoft Lync 2013 SDK.
Applies to: Lync 2013 | Lync Server 2013
In this article |
Chat room overview
A followed room has two attributes that distinguish it from other rooms hosted on Microsoft Lync Server 2013 Persistent Chat. The membership of a local user’s followed room always includes the local user, and a followed room does not need to be joined to provide an activity feed for new messages.
Chat room types
All chat rooms are encapsulated by a common Microsoft.Lync.Model.Room.Room class. Although all chat rooms are encapsulated by the same class, the programming patterns used to interact with chat rooms are different depending on the relationship of the user to the room. For example, a chat room that a user is not a member of does not notify the user of new messages even if your application has registered a handler for the Room.UnreadMessageCountChanged event.
The following table describes the behavior differences between chat rooms represented by the Room class.
Room action |
Followed chat room |
Member of the chat room |
Auditorium chat room |
Not a member of the chat room |
---|---|---|---|---|
BeginJoin method |
X |
X |
||
BeginLeave method |
X |
X |
||
BeginRetrieveAdditionalMessages method |
X |
X1 |
X1 |
|
BeginRetrieveLatestMessages method |
X |
X1 |
X1 |
|
BeginSendMessage method |
X |
X1 |
X2 |
|
BeginSendStoryMessage method |
X |
X1 |
X2 |
|
DisableOutgoingMessageFilter method |
X |
X1 |
X2 |
|
EnableOutgoingMessageFilter method |
X |
X1 |
X2 |
|
SendFilteredMessage method |
X |
X1 |
X2 |
|
IsSendingMessage event |
X |
X1 |
X2 |
|
JoinStateChanged event |
X |
X |
||
MessagesReceived event |
X |
X1 |
X1 |
|
ParticipantAdded event |
X |
X1 |
X1 |
|
ParticipantRemoved event |
X |
X1 |
X1 |
|
PropertyChanged event |
X |
X |
X |
|
UnreadMessageCountChanged event |
X |
X1 |
X1 |
1 The user must be joined to the room.
2 The user must be joined to the room and be assigned the Presenter role by an administrator.