diff --git a/libraries/Microsoft.Bot.Schema/Teams/Generated/CacheInfo.cs b/libraries/Microsoft.Bot.Schema/Teams/Generated/CacheInfo.cs
new file mode 100644
index 0000000000..58c089aaa3
--- /dev/null
+++ b/libraries/Microsoft.Bot.Schema/Teams/Generated/CacheInfo.cs
@@ -0,0 +1,53 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+
+namespace Microsoft.Bot.Schema.Teams
+{
+ using Newtonsoft.Json;
+
+ ///
+ /// A cache info object which notifies Teams how long an object should be cached for.
+ ///
+ public partial class CacheInfo
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public CacheInfo()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Type of Cache Info.
+ /// Duration of the Cached Info.
+ public CacheInfo(string cacheType = default(string), int cacheDuration = default(int))
+ {
+ CacheType = cacheType;
+ CacheDuration = cacheDuration;
+ CustomInit();
+ }
+
+ ///
+ /// Gets or sets cache type.
+ ///
+ /// The type of cache for this object.
+ [JsonProperty(PropertyName = "cacheType")]
+ public string CacheType { get; set; }
+
+ ///
+ /// Gets or sets cache duration.
+ ///
+ /// The time in seconds for which the cached object should remain in the cache.
+ [JsonProperty(PropertyName = "cacheDuration")]
+ public int CacheDuration { get; set; }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults.
+ ///
+ partial void CustomInit();
+ }
+}
diff --git a/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionActionResponse.cs b/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionActionResponse.cs
index b0fad4ea7f..11be2b17cf 100644
--- a/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionActionResponse.cs
+++ b/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionActionResponse.cs
@@ -59,5 +59,10 @@ public MessagingExtensionActionResponse()
[JsonProperty(PropertyName = "composeExtension")]
public MessagingExtensionResult ComposeExtension { get; set; }
+ ///
+ /// Gets or sets the CacheInfo for this MessagingExtensionActionResponse.
+ ///
+ [JsonProperty(PropertyName = "cacheInfo")]
+ public CacheInfo CacheInfo { get; set; }
}
}
diff --git a/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionResponse.cs b/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionResponse.cs
index 978de0e55e..d34c8899fd 100644
--- a/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionResponse.cs
+++ b/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionResponse.cs
@@ -29,6 +29,7 @@ public MessagingExtensionResponse()
///
/// Initializes a new instance of the MessagingExtensionResponse class.
///
+ /// A that initializes the current object's ComposeExension property.
public MessagingExtensionResponse(MessagingExtensionResult composeExtension = default(MessagingExtensionResult))
{
ComposeExtension = composeExtension;
@@ -45,5 +46,11 @@ public MessagingExtensionResponse()
[JsonProperty(PropertyName = "composeExtension")]
public MessagingExtensionResult ComposeExtension { get; set; }
+ ///
+ /// Gets or sets the CacheInfo for this MessagingExtensionResponse.
+ /// module.
+ ///
+ [JsonProperty(PropertyName = "cacheInfo")]
+ public CacheInfo CacheInfo { get; set; }
}
}
diff --git a/libraries/Microsoft.Bot.Schema/Teams/Generated/TaskModuleResponse.cs b/libraries/Microsoft.Bot.Schema/Teams/Generated/TaskModuleResponse.cs
index f46b1eefdf..81c4255813 100644
--- a/libraries/Microsoft.Bot.Schema/Teams/Generated/TaskModuleResponse.cs
+++ b/libraries/Microsoft.Bot.Schema/Teams/Generated/TaskModuleResponse.cs
@@ -1,4 +1,4 @@
-//
+//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
@@ -49,5 +49,11 @@ public TaskModuleResponse()
[JsonProperty(PropertyName = "task")]
public TaskModuleResponseBase Task { get; set; }
+ ///
+ /// Gets or sets the CacheInfo for this TaskModuleResponse.
+ /// module.
+ ///
+ [JsonProperty(PropertyName = "cacheInfo")]
+ public CacheInfo CacheInfo { get; set; }
}
}