/// <summary> /// Initializes a new instance of the <see cref="TaskModuleResponse"/> class. /// </summary> /// <param name="task">The JSON for the Adaptive card to appear in the /// task module.</param> public TaskModuleResponse(TaskModuleResponseBase task = default(TaskModuleResponseBase)) { Task = task; CustomInit(); }
/// <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(); }