Example #1
0
        public static async Task <ResourceResponse> TryStartRecording(ITurnContext turnContext, CancellationToken cancellationToken)
        {
            if (turnContext.Activity.ChannelId == "telephony")
            {
                await turnContext.StartRecording(cancellationToken).ConfigureAwait(false);
            }

            return(null);
        }