SlackClient Class

Definition

Typed client for slack connector.

public class SlackClient : Azure.Connectors.Sdk.ConnectorClientBase
type SlackClient = class
    inherit ConnectorClientBase
Public Class SlackClient
Inherits ConnectorClientBase
Inheritance

Constructors

Name Description
SlackClient()
SlackClient(String)

Creates a new SlackClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

SlackClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new SlackClient with the specified connection runtime URL and credential.

SlackClient(Uri, TokenCredential)

Creates a new SlackClient with the specified connection runtime URL and credential.

SlackClient(Uri)

Creates a new SlackClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

Properties

Name Description
ConnectorName
Pipeline

Gets the HTTP pipeline for making connector requests.

(Inherited from ConnectorClientBase)

Methods

Name Description
CallConnectorAsync(HttpMethod, String, Object, CancellationToken)

Sends a connector API request with no response body. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CallConnectorAsync<TResponse>(HttpMethod, String, Object, CancellationToken)

Sends a connector API request and deserializes the JSON response. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CreateChannelAsync(String, Nullable<Boolean>, CancellationToken)

Create a channel

Dispose() (Inherited from ConnectorClientBase)
Dispose(Boolean)

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
JoinChannelAsync(String, CancellationToken)

Join a public channel

ListChannelsAsync(CancellationToken)

List public channels (Pagination support)

PostMessageAsync(PostMessageRequest, CancellationToken)

Post message (V2)

ResolveUrl(String)

Resolves a relative path or validates an absolute URL against the connection runtime URL. When the NextLink host matches the connection URL, it's used as-is. When it doesn't match (codeless connectors like ARM return nextLink pointing to the backend host e.g. management.azure.com), the path+query is extracted and routed through the APIM proxy. This is safe because the request still goes through the connection runtime URL with API Hub auth.

(Inherited from ConnectorClientBase)
SetDNDAsync(String, CancellationToken)

Set do not disturb

Applies to