Skip to content

Commit

Permalink
binarywang#1720 增加群机器人的消息类型
Browse files Browse the repository at this point in the history
  • Loading branch information
yang ran committed Aug 21, 2020
1 parent 17c2042 commit 20f7363
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,31 @@ public static class KefuMsgType {
public static final String MINIPROGRAM_NOTICE = "miniprogram_notice";
}

/**
* 群机器人的消息类型.
*/
public static class GroupRobotMsgType {
/**
* 文本消息.
*/
public static final String TEXT = "text";

/**
* 图片消息.
*/
public static final String IMAGE = "image";

/**
* markdown消息.
*/
public static final String MARKDOWN = "markdown";

/**
* 图文消息(点击跳转到外链).
*/
public static final String NEWS = "news";
}

/**
* 表示是否是保密消息,0表示否,1表示是,默认0.
*/
Expand Down

0 comments on commit 20f7363

Please sign in to comment.