SlackClientWrapper 클래스

정의

주의

The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.

[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class SlackClientWrapper
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type SlackClientWrapper = class
Public Class SlackClientWrapper
상속
SlackClientWrapper
특성

생성자

SlackClientWrapper(SlackClientWrapperOptions)
사용되지 않음.

SlackClientWrapper 클래스의 새 인스턴스를 초기화합니다. 액세스 토큰을 제공하여 Slack 클라이언트를 만듭니다.

속성

Identity
사용되지 않음.

사용자 ID를 가져옵니다.

Options
사용되지 않음.

SlackClientWrapperOptions를 가져옵니다.

메서드

DeleteMessageAsync(String, DateTime, CancellationToken)
사용되지 않음.

Slack API의 DeleteMessageAsync 메서드를 래핑합니다.

GetBotUserIdentity(Activity)
사용되지 않음.

들어오는 활동이 시작된 팀과 연결된 봇 사용자 ID를 가져옵니다. 이는 SlackMessageTypeMiddleware에서 내부적으로 direct_mention 식별하고 이벤트를 언급하는 데 사용됩니다. 단일 팀 모드에서는 시작 시 Slack API에서 정보를 가져옵니다. 다중 팀 모드에서는 생성자에 전달된 메서드를 사용하여 getBotUserByTeam 개발자 정의 원본에서 정보를 가져옵니다.

LoginWithSlackAsync(CancellationToken)
사용되지 않음.

지정된 자격 증명을 사용하여 Slack에 대한 로그인을 관리합니다.

PostMessageAsync(NewSlackMessage, CancellationToken)
사용되지 않음.

Slack에 메시지를 게시합니다.

TestAuthAsync(CancellationToken)
사용되지 않음.

Slack API의 TestAuthAsync 메서드를 래핑합니다.

UpdateAsync(String, String, String, String, String, Boolean, Attachment[], Boolean, CancellationToken)
사용되지 않음.

Slack API의 UpdateAsync 메서드를 래핑합니다.

VerifySignature(HttpRequest, String)
사용되지 않음.

요청 헤더에서 가져온 암호에 대해 로컬 비밀의 유효성을 검사합니다.

적용 대상