Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit b936f89

Browse files
committed
Merge branch 'emimunoz/52-search-auth' of https://github.com/microsoft/botbuilder-java into emimunoz/52-search-auth
2 parents c4ec5ae + c04068b commit b936f89

4 files changed

Lines changed: 20 additions & 5 deletions

File tree

libraries/bot-schema/src/main/java/com/microsoft/bot/schema/teams/TaskModuleContinueResponse.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@ public class TaskModuleContinueResponse extends TaskModuleResponseBase {
1212
@JsonProperty(value = "value")
1313
private TaskModuleTaskInfo value;
1414

15+
/**
16+
* Initializes a new instance.
17+
*/
18+
public TaskModuleContinueResponse() {
19+
setType("continue");
20+
}
21+
1522
/**
1623
* Gets the Adaptive card to appear in the task module.
17-
*
24+
*
1825
* @return The value info.
1926
*/
2027
public TaskModuleTaskInfo getValue() {
@@ -23,7 +30,7 @@ public TaskModuleTaskInfo getValue() {
2330

2431
/**
2532
* Sets the Adaptive card to appear in the task module.
26-
*
33+
*
2734
* @param withValue The value info.
2835
*/
2936
public void setValue(TaskModuleTaskInfo withValue) {

libraries/bot-schema/src/main/java/com/microsoft/bot/schema/teams/TaskModuleMessageResponse.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@ public class TaskModuleMessageResponse extends TaskModuleResponseBase {
1212
@JsonProperty(value = "value")
1313
private String value;
1414

15+
/**
16+
* Initializes a new instance.
17+
*/
18+
public TaskModuleMessageResponse() {
19+
setType("message");
20+
}
21+
1522
/**
1623
* Gets info teams will display the value of value in a popup message box.
17-
*
24+
*
1825
* @return The popup info.
1926
*/
2027
public String getValue() {
@@ -23,7 +30,7 @@ public String getValue() {
2330

2431
/**
2532
* Sets info teams will display the value of value in a popup message box.
26-
*
33+
*
2734
* @param withValue The popup info.
2835
*/
2936
public void setValue(String withValue) {

samples/52.teams-messaging-extensions-search-auth-config/src/main/java/com/microsoft/bot/sample/teamssearchauth/SimpleGraphClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public List<Message> searchMailInbox(String search) {
3030

3131
IMessageCollectionPage message = client.me().messages()
3232
.buildRequest(options)
33-
.select("internetMessageHeaders")
3433
.get();
3534

3635
return message.getCurrentPage().subList(0, 10);
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
MicrosoftAppId=
22
MicrosoftAppPassword=
3+
ConnectionName=
4+
SiteUrl=

0 commit comments

Comments
 (0)