Skip to content

评论数据管理

打开已群发文章评论

OfficialAccountApp.Comment.Open(ctx,"[msgID]", 0)

微信官方文档

关闭已群发文章评论

OfficialAccountApp.Comment.Close(ctx,"[msgID]", 0)

微信官方文档

将评论标记精选

commentID := 0
OfficialAccountApp.Comment.MarkElect(ctx,"[msgID]", 0, commentID)

微信官方文档

将评论取消精选

commentID := 0
OfficialAccountApp.Comment.UnmarkElect(ctx,"[msgID]", 0, commentID)

微信官方文档

删除评论

commentID := 0
OfficialAccountApp.Comment.Delete(ctx,"[msgID]", 0, commentID)

微信官方文档

回复评论

commentID := 0
OfficialAccountApp.Comment.Delete(ctx,"[msgID]", 0, commentID, "[content]")

微信官方文档

删除回复评论

OfficialAccountApp.Comment.DeleteReply(ctx,"[msgID]", 0, commentID)

微信官方文档

使用示例

参考: PowerWechatTutorial

评论数据管理 has loaded