Ejemplo n.º 1
0
        public static async Task <ResourceResponse> TryPauseRecording(ITurnContext turnContext, CancellationToken cancellationToken)
        {
            if (turnContext.Activity.ChannelId == "telephony")
            {
                await turnContext.PauseRecording(cancellationToken).ConfigureAwait(false);
            }

            return(null);
        }