다음을 통해 공유


TeamsInfo.SendMessageToListOfChannelsAsync 메서드

정의

제공된 Teams 채널 목록에 메시지를 보냅니다.

public static System.Threading.Tasks.Task<string> SendMessageToListOfChannelsAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Schema.IActivity activity, System.Collections.Generic.List<Microsoft.Bot.Schema.Teams.TeamMember> channelsMembers, string tenantId, System.Threading.CancellationToken cancellationToken = default);
static member SendMessageToListOfChannelsAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Schema.IActivity * System.Collections.Generic.List<Microsoft.Bot.Schema.Teams.TeamMember> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Shared Function SendMessageToListOfChannelsAsync (turnContext As ITurnContext, activity As IActivity, channelsMembers As List(Of TeamMember), tenantId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

매개 변수

turnContext
ITurnContext

턴 컨텍스트입니다.

activity
IActivity

보낼 활동입니다.

channelsMembers
List<TeamMember>

채널 목록입니다.

tenantId
String

테넌트 ID입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

작업 ID입니다.

적용 대상