다음을 통해 공유


TeamsInfo.GetMembersAsync(ITurnContext, CancellationToken) 메서드

정의

주의

Microsoft Teams is deprecating the non-paged version of the getMembers API which this method uses. Please use GetPagedTeamMembersAsync instead of this API.

일대일 또는 그룹 채팅의 대화 멤버를 가져옵니다.

[System.Obsolete("Microsoft Teams is deprecating the non-paged version of the getMembers API which this method uses. Please use GetPagedTeamMembersAsync instead of this API.")]
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Teams.TeamsChannelAccount>> GetMembersAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Microsoft Teams is deprecating the non-paged version of the getMembers API which this method uses. Please use GetPagedTeamMembersAsync instead of this API.")>]
static member GetMembersAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Teams.TeamsChannelAccount>>
Public Shared Function GetMembersAsync (turnContext As ITurnContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of TeamsChannelAccount))

매개 변수

turnContext
ITurnContext

컨텍스트를 설정합니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

TeamsChannelAccount.

특성

적용 대상