Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@

package com.microsoft.bot.schema.teams;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Response of messaging extension action.
*/
public class MessagingExtensionActionResponse {
@JsonProperty(value = "task")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private TaskModuleResponseBase task;

@JsonProperty(value = "composeExtension")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ public class MessagingExtensionResult {
private List<MessagingExtensionAttachment> attachments;

@JsonProperty(value = "suggestedActions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private MessagingExtensionSuggestedAction suggestedActions;

@JsonProperty(value = "text")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private String text;

@JsonProperty(value = "activityPreview")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private Activity activityPreview;

/**
Expand Down