Method TryGetPrivateChat
- Namespace
- Skyline.DataMiner.DcpChatIntegrationHelper.Teams
- Assembly
- Skyline.DataMiner.DcpChatIntegrationHelper.dll
TryGetPrivateChat(string)
Tries to fetch the private chat of the given user and the DataMiner Teams Bot.
IChat TryGetPrivateChat(string email)
Parameters
email
stringThe email addresses of the user (which is part of the tenant)
Returns
- IChat
The private chat of the given user and the DataMiner Teams Bot or null when not found.
Remarks
The organizations Microsoft Teams tenant must be configured in the Admin App and the required permissions must be granted. Note that, if new features require more permissions than were granted before, you can easily refresh your configured tenant to update it's permissions in the Admin App.
Exceptions
- TeamsChatIntegrationException
If anything went wrong.