/// <summary>
        /// Prepares conversation context from turn context.
        /// </summary>
        /// <param name="turnContext">Turn context.</param>
        /// <returns><see cref="ConversationContext"/>.</returns>
        public static ConversationContext GetConversationContext(this ITurnContext <IInvokeActivity> turnContext)
        {
            var meetingId = turnContext.Activity.TeamsGetMeetingInfo()?.Id;

            return(new ConversationContext()
            {
                ConversationId = turnContext.Activity.Conversation.Id,
                ConversationType = turnContext.GetConversationType(),
                IsMeetingConversation = !string.IsNullOrEmpty(meetingId),
                MeetingId = meetingId,
            });
        }