/// <summary>
 /// Initializes a new instance of the <see cref="MessagingExtensionResponse"/> class.
 /// </summary>
 /// <param name="composeExtension">A <see cref="MessagingExtensionResult"/> that initializes the current object's ComposeExension property.</param>
 public MessagingExtensionResponse(MessagingExtensionResult composeExtension = default)
 {
     ComposeExtension = composeExtension;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the MessagingExtensionActionResponse
 /// class.
 /// </summary>
 /// <param name="task">The JSON for the Adaptive card to appear in the
 /// task module.</param>
 /// <param name="composeExtension">A <see cref="MessagingExtensionResult"/> that initializes the current object's ComposeExension property.</param>
 public MessagingExtensionActionResponse(TaskModuleResponseBase task = default(TaskModuleResponseBase), MessagingExtensionResult composeExtension = default(MessagingExtensionResult))
 {
     Task             = task;
     ComposeExtension = composeExtension;
     CustomInit();
 }