/// <summary> /// SendConversationHistory /// </summary> /// <remarks> /// This method allows you to upload the historic activities to the /// conversation. /// /// Sender must ensure that the historic activities have unique ids and /// appropriate timestamps. The ids are used by the client to deal with /// duplicate activities and the timestamps are used by the client to render /// the activities in the right order. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='conversationId'> /// Conversation ID /// </param> /// <param name='history'> /// Historic activities /// </param> public static ResourceResponse SendConversationHistory(this IConversations operations, string conversationId, Transcript history) { return(operations.SendConversationHistoryAsync(conversationId, history).GetAwaiter().GetResult()); }