| Modifier and Type | Method and Description |
|---|---|
GlobalReturnCode |
GlobalReturnCode.systemError() |
| Modifier and Type | Method and Description |
|---|---|
GlobalReturnCode |
MaterialApi.batchgetMaterial(MediaType type,
int offset,
int count) |
GlobalReturnCode |
MaterialApi.delMaterial(String mediaId) |
GlobalReturnCode |
MaterialApi.getMaterial(String mediaId) |
GlobalReturnCode |
MaterialApi.getMaterialCount() |
| Modifier and Type | Method and Description |
|---|---|
GlobalReturnCode |
MenuApi.menuCreate(Menu menu)
创建菜单
目前自定义菜单最多包括3个一级菜单,每个一级菜单最多包含5个二级菜单。一级菜单最多4个汉字,二级菜单最多7个汉字,多出来的部分将会以“...”代替。请注意,创建自定义菜单后,由于微信客户端缓存,需要24小时微信客户端才会展现出来。建议测试时可以尝试取消关注公众账号后再次关注,则可以看到创建后的效果。
|
GlobalReturnCode |
MenuApi.menuCreateByJsonString(String jsonString) |
GlobalReturnCode |
MenuApi.menuDelete()
菜单删除
|
| Modifier and Type | Method and Description |
|---|---|
GlobalReturnCode |
CustomMsgSender.sendImageMsg(String toUser,
String mediaId)
发送图片消息
|
GlobalReturnCode |
CustomMsgSender.sendMusicMsg(String toUser,
String title,
String description,
String musicUrl,
String hqMusicUrl,
String thumbMediaId)
发送音乐消息
|
GlobalReturnCode |
CustomMsgSender.sendNewsMsg(String toUser,
NewsArticles... articles)
发送图文消息
|
GlobalReturnCode |
CustomMsgSender.sendTextMsg(String toUser,
String content)
发送文本消息
|
GlobalReturnCode |
CustomMsgSender.sendVideoMsg(String toUser,
String mediaId,
String title,
String description)
发送视频消息
|
GlobalReturnCode |
CustomMsgSender.sendVoiceMsg(String toUser,
String mediaId)
发送语音消息
|
| Modifier and Type | Method and Description |
|---|---|
GlobalReturnCode |
ArticlesApi.articlesPreviewToOpenId(String openId,
String mediaId) |
GlobalReturnCode |
ArticlesApi.articlesPreviewToWxUsername(String wxUsername,
String mediaId) |
GlobalReturnCode |
ArticlesApi.articlesSend(String mediaId) |
GlobalReturnCode |
ArticlesApi.articlesUpdate(String mediaId,
String index,
Article article) |
GlobalReturnCode |
ArticlesApi.articlesUpdateByJsonString(String jsonString) |
GlobalReturnCode |
ArticlesApi.articlesUpload(Articles articles) |
GlobalReturnCode |
ArticlesApi.articlesUploadByJsonString(String jsonString) |
GlobalReturnCode |
ArticlesApi.articlesUploadToMaterial(Articles articles) |
GlobalReturnCode |
ArticlesApi.articlesUploadToMaterialByJsonString(String jsonString) |
| Modifier and Type | Class and Description |
|---|---|
class |
OAuth2AccessToken |
class |
OAuth2UserInfo |
| Modifier and Type | Class and Description |
|---|---|
class |
QRCode |
| Modifier and Type | Class and Description |
|---|---|
class |
SubscribeList
关注者列表
|
class |
UserInfo |
| Modifier and Type | Method and Description |
|---|---|
GlobalReturnCode |
UserGroupApi.createGroup(String name)
创建分组
|
GlobalReturnCode |
UserGroupApi.moveToGroup(String openId,
int toGroupId)
移动用户分组
|
GlobalReturnCode |
UserGroupApi.updateGroup(int id,
String name)
修改分组名
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends GlobalReturnCode> |
JsonUtils.buildRequestResult(com.alibaba.fastjson.JSONObject resp,
Class<T> t) |
| Modifier and Type | Method and Description |
|---|---|
static GlobalReturnCode |
JsonUtils.buildSendResult(com.alibaba.fastjson.JSONObject resp) |
Copyright © 2012–2020 Wudao Software Studio. All rights reserved.