public class ArticleProxy extends MediaProxy
Description:
tokenManagerweixinRequestClient| 构造器和说明 |
|---|
ArticleProxy(TokenManager tokenManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResult |
deleteComment(String msgid,
int index,
String commentId)
删除评论
|
ApiResult |
deleteCommentReply(String msgid,
int index,
String commentId)
删除回复
|
List<ArticleComment> |
listAllArticleComments(ArticleComment.ArticleCommentType commentType,
String msgid,
int index)
获取评论列表
|
PageData<ArticleComment> |
listArticleComments(Pageable page,
ArticleComment.ArticleCommentType commentType,
String msgid,
int index)
获取评论列表
|
ApiResult |
markelectComment(boolean markelect,
String msgid,
int index,
String commentId)
评论标记/取消精选
|
ApiResult |
openComment(boolean open,
String msgid,
int index)
打开/关闭已群发文章评论
|
ApiResult |
replyComment(String msgid,
int index,
String commentId,
String content)
回复评论
|
countMaterialMedia, deleteMaterialMedia, downloadArticle, downloadMedia, listAllMaterialMedia, listMaterialMedia, updateMaterialArticle, uploadImage, uploadMaterialArticle, uploadMaterialVideo, uploadMedia, uploadVideogetTokenManagerpublic ArticleProxy(TokenManager tokenManager)
public ApiResult openComment(boolean open, String msgid, int index) throws WeixinException
open - true为打开,false为关闭msgid - 群发返回的msg_data_idindex - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文WeixinExceptionpublic PageData<ArticleComment> listArticleComments(Pageable page, ArticleComment.ArticleCommentType commentType, String msgid, int index) throws WeixinException
page - 分页信息commentType - 评论类型 为空获取全部类型msgid - 群发返回的msg_data_idindex - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文WeixinExceptionArticleComment,
ArticleComment.ArticleCommentTypepublic List<ArticleComment> listAllArticleComments(ArticleComment.ArticleCommentType commentType, String msgid, int index) throws WeixinException
commentType - 评论类型 为空获取全部类型msgid - 群发返回的msg_data_idindex - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文WeixinExceptionlistArticleComments(Pageable, ArticleComment.ArticleCommentType, String, int)public ApiResult markelectComment(boolean markelect, String msgid, int index, String commentId) throws WeixinException
markelect - true为标记,false为取消msgid - 群发返回的msg_data_idindex - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文commentId - 用户评论IDWeixinExceptionlistArticleComments(Pageable,ArticleComment.ArticleCommentType, String, int)public ApiResult deleteComment(String msgid, int index, String commentId) throws WeixinException
msgid - 群发返回的msg_data_idindex - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文commentId - 用户评论IDWeixinExceptionlistArticleComments(Pageable, ArticleComment.ArticleCommentType, String, int)public ApiResult replyComment(String msgid, int index, String commentId, String content) throws WeixinException
msgid - 群发返回的msg_data_idindex - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文commentId - 用户评论IDcontent - 回复内容WeixinExceptionlistArticleComments(Pageable, ArticleComment.ArticleCommentType, String, int)public ApiResult deleteCommentReply(String msgid, int index, String commentId) throws WeixinException
msgid - 群发返回的msg_data_idindex - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文commentId - 用户评论IDWeixinExceptionlistArticleComments(Pageable, ArticleComment.ArticleCommentType, String, int)Copyright © 2020. All rights reserved.