-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ke Jie <[email protected]>
- Loading branch information
Showing
14 changed files
with
120 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
app-stream-api/src/main/java/com/dingtalk/open/app/api/models/bot/ChatbotMessage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.dingtalk.open.app.api.models.bot; | ||
|
||
import java.util.List; | ||
|
||
public class ChatbotMessage { | ||
String conversationId; | ||
List<MentionUser> atUsers; | ||
String chatbotCorpId; | ||
String chatbotUserId; | ||
String msgId; | ||
String senderNick; | ||
Boolean isAdmin; | ||
String senderStaffId; | ||
Long sessionWebhookExpiredTime; | ||
Long createAt; | ||
String senderCorpId; | ||
String conversationType; | ||
String senderId; | ||
String conversationTitle; | ||
Boolean isInAtList; | ||
String sessionWebhook; | ||
String msgtype; | ||
MessageContent text; | ||
MessageContent content; | ||
} |
22 changes: 22 additions & 0 deletions
22
app-stream-api/src/main/java/com/dingtalk/open/app/api/models/bot/MentionUser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.dingtalk.open.app.api.models.bot; | ||
|
||
public class MentionUser { | ||
String dingtalkId; | ||
String staffId; | ||
|
||
public String getDingtalkId() { | ||
return dingtalkId; | ||
} | ||
|
||
public void setDingtalkId(String dingtalkId) { | ||
this.dingtalkId = dingtalkId; | ||
} | ||
|
||
public String getStaffId() { | ||
return staffId; | ||
} | ||
|
||
public void setStaffId(String staffId) { | ||
this.staffId = staffId; | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
app-stream-api/src/main/java/com/dingtalk/open/app/api/models/bot/MessageContent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
package com.dingtalk.open.app.api.models.bot; | ||
|
||
import java.util.List; | ||
|
||
public class MessageContent { | ||
/** | ||
* 适用的类型:text | ||
*/ | ||
String content; | ||
/** | ||
* 适用的类型:picture, richText[index] | ||
*/ | ||
String pictureDownloadCode; | ||
/** | ||
* 适用的类型:picture, video, audio, file, richText[index] | ||
*/ | ||
String downloadCode; | ||
/** | ||
* 适用的类型:video | ||
*/ | ||
String duration; | ||
/** | ||
* 适用的类型:video | ||
*/ | ||
String videoType; | ||
/** | ||
* 适用的类型:audio | ||
*/ | ||
String recognition; | ||
/** | ||
* 适用的类型:file | ||
*/ | ||
String spaceId; | ||
/** | ||
* 适用的类型:file | ||
*/ | ||
String fileName; | ||
/** | ||
* 适用的类型:file | ||
*/ | ||
String fileId; | ||
/** | ||
* 适用的类型:richText | ||
*/ | ||
List<MessageContent> richText; | ||
/** | ||
* 适用的类型:richText[index] | ||
*/ | ||
String text; | ||
/** | ||
* 适用的类型:richText[index] | ||
*/ | ||
String type; | ||
/** | ||
* 适用的类型:unknownMsgType | ||
*/ | ||
String unknownMsgType; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
mvn versions:set -DnewVersion=1.0.8 | ||
mvn versions:set -DnewVersion=1.0.9-SNAPSHOT |