Training
Learning path
MS-700 Manage chat, teams, channels, and apps in Microsoft Teams - Training
MS-700 Manage chat, teams, channels, and apps in Microsoft Teams
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Learn about the Microsoft Lync 2013 Persistent Chat room manager class that is part of Microsoft Lync 2013 SDK.
Applies to: Lync 2013 | Lync Server 2013
In this article |
The Microsoft.Lync.Model.Room.RoomManager class is the entry point to the Persistent Chat feature in the Lync 2013 API. The class gives you access to any chat room that has been added to Microsoft Lync Server 2013 Persistent Chat in a Microsoft Lync Server 2013 topology. Use the class to get a chat room to post and read messages.
The room manager class gives you access to chat rooms in the following ways:
Query by room title
Query by room URI
Followed rooms collection
When a user types a partial room name in the search bar of the Lync 2013 client, the client performs a query against Lync Server 2013 Persistent Chat using the partial title and returns a list of search results. The rooms in the result list are matched by room title against the query string only. The results can include rooms that the user is already following or rooms that the user is not a member of. Room membership is determined by a chat room administrator and cannot be changed at the client level.
If the URI of a chat room is known, you can get the corresponding Microsoft.Lync.Model.Room.Room object. The room URI is exposed in the RoomURI() property only. You cannot get the room URI from the Lync 2013 client itself. Another application can obtain the Room object by either searching for it with a partial room title or obtaining it from a followed room list. When a Room object is obtained, the URI can be sent to another user by an IM message or email. An advantage of sending a URI instead of a full room title is that the URI is an unambiguous reference to a specific room.
The followed room collection is the set of chat rooms selected by the user to receive activity notifications. These are the rooms that your application interacts with most frequently. For this reason, the collection is always provisioned on the local endpoint when a user signs in to Lync 2013. For more information about followed rooms, see Chat rooms.
Training
Learning path
MS-700 Manage chat, teams, channels, and apps in Microsoft Teams - Training
MS-700 Manage chat, teams, channels, and apps in Microsoft Teams