WeChat.Comment (wechat v0.8.0) View Source
图文消息留言管理
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
add_reply(client, msg_data_id, user_comment_id, content, index \\ 0)
View SourceSpecs
add_reply( WeChat.client(), msg_data_id(), user_comment_id(), content(), index :: integer() ) :: WeChat.response()
回复评论 - 官方文档
Specs
close(WeChat.client(), msg_data_id(), index :: integer()) :: WeChat.response()
关闭已群发文章评论 - 官方文档
Specs
delete(WeChat.client(), msg_data_id(), user_comment_id(), index :: integer()) :: WeChat.response()
删除评论 - 官方文档
Specs
delete_reply( WeChat.client(), msg_data_id(), user_comment_id(), index :: integer() ) :: WeChat.response()
删除回复 - 官方文档
Specs
list( WeChat.client(), msg_data_id(), begin :: integer(), count :: integer(), comment_type(), index :: integer() ) :: WeChat.response()
查看指定文章的评论数据 - 官方文档
参数说明
参数 | 是否必须 | 类型 | 说明 |
---|---|---|---|
msg_data_id | 是 | Uint32 | 群发返回的msg_data_id |
index | 否 | Uint32 | 多图文时,用来指定第几篇图文,从0开始,不带默认返回该msg_data_id的第一篇图文 |
begin | 是 | Uint32 | 起始位置 |
count | 是 | Uint32 | 获取数目(>=50会被拒绝) |
type | 是 | Uint32 | type=0 普通评论&精选评论 type=1 普通评论 type=2 精选评论 |
Specs
mark_elect( WeChat.client(), msg_data_id(), user_comment_id(), index :: integer() ) :: WeChat.response()
将评论标记精选 - 官方文档
Specs
open(WeChat.client(), msg_data_id(), index :: integer()) :: WeChat.response()
打开已群发文章评论 - 官方文档
Specs
unmark_elect( WeChat.client(), msg_data_id(), user_comment_id(), index :: integer() ) :: WeChat.response()
将评论取消精选 - 官方文档