SlackClientWrapper.GetBotUserIdentity(Activity) 메서드

정의

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

public virtual string GetBotUserIdentity (Microsoft.Bot.Schema.Activity activity);
abstract member GetBotUserIdentity : Microsoft.Bot.Schema.Activity -> string
override this.GetBotUserIdentity : Microsoft.Bot.Schema.Activity -> string
Public Overridable Function GetBotUserIdentity (activity As Activity) As String

매개 변수

activity
Activity

활동입니다.

반환

봇 사용자의 ID입니다.

적용 대상