/// <inheritdoc/>
 public async Task <bool> AgentTransferRequiredAsync(Activity message, CancellationToken cancellationToken)
 {
     return(await _agentUserMapping.DoesMappingExist(new User(message), cancellationToken));
 }
Example #2
0
 public async Task <bool> IsInExistingConversationAsync(IActivity activity, CancellationToken cancellationToken) =>
 await _agentUserMapping.DoesMappingExist(new Agent(activity), cancellationToken);
Example #3
0
 private async Task <bool> IsInExistingConversationWithAgentAsync(Activity message, CancellationToken cancellationToken) =>
 await _agentUserMapping.DoesMappingExist(new User(message), cancellationToken);