ConversationClient(HttpClient, ILogger<ConversationClient>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods for sending activities to a conversation endpoint using HTTP requests.
public ConversationClient(System.Net.Http.HttpClient httpClient, Microsoft.Extensions.Logging.ILogger<Microsoft.Teams.Core.ConversationClient> logger = default);
new Microsoft.Teams.Core.ConversationClient : System.Net.Http.HttpClient * Microsoft.Extensions.Logging.ILogger<Microsoft.Teams.Core.ConversationClient> -> Microsoft.Teams.Core.ConversationClient
Public Sub New (httpClient As HttpClient, Optional logger As ILogger(Of ConversationClient) = Nothing)
Parameters
- httpClient
- HttpClient
The HTTP client instance used to send requests to the conversation service. Must not be null.
- logger
- ILogger<ConversationClient>
The logger instance used for logging. Optional.