diff --git a/libraries/bot-schema/src/main/java/com/microsoft/bot/schema/teams/AppBasedLinkQuery.java b/libraries/bot-schema/src/main/java/com/microsoft/bot/schema/teams/AppBasedLinkQuery.java index 665f36dd3..ad1b01427 100644 --- a/libraries/bot-schema/src/main/java/com/microsoft/bot/schema/teams/AppBasedLinkQuery.java +++ b/libraries/bot-schema/src/main/java/com/microsoft/bot/schema/teams/AppBasedLinkQuery.java @@ -12,6 +12,9 @@ public class AppBasedLinkQuery { @JsonProperty(value = "url") private String url; + @JsonProperty(value = "state") + private String state; + /** * Initializes a new empty instance of the AppBasedLinkQuery class. */ @@ -45,4 +48,22 @@ public String getUrl() { public void setUrl(String withUrl) { url = withUrl; } + + /** + * Gets the magic code for OAuth Flow. + * + * @return The state + */ + public String getState() { + return state; + } + + /** + * Sets the magic code for OAuth Flow. + * + * @param withState The state. + */ + public void setState(String withState) { + state = withState; + } }