public static class CommentRequest.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
CommentRequest.Builder |
atInfoList(CommentAtInfo[] atInfoList)
评论中艾特人信息
示例值:
|
CommentRequest |
build() |
CommentRequest.Builder |
commentId(String commentId)
评论ID,如果是编辑、删除一条评论,需要传
示例值:7081516627711524883
|
CommentRequest.Builder |
content(String content)
评论内容,包含艾特人、附件等
示例值:{\"text\":\"来自小程序的评论111我带附件中有extra \",\"files\":[{\"url\":\"xxx\",\"fileSize\":155149,\"title\":\"9a9fedc5cfb01a4a20c715098.png\",\"type\":\"image\",\"extra\":\"\"}]}
|
CommentRequest.Builder |
disableBot(Boolean disableBot)
disable_bot=true只同步数据,不触发bot
示例值:false
|
CommentRequest.Builder |
extra(String extra)
附加字段
示例值:{\"a\":\"a\"}
|
CommentRequest.Builder |
parentCommentId(String parentCommentId)
父评论ID,如果是回复评论,需要传
示例值:7081516627711524883
|
public CommentRequest.Builder content(String content)
示例值:{\"text\":\"来自小程序的评论111我带附件中有extra \",\"files\":[{\"url\":\"xxx\",\"fileSize\":155149,\"title\":\"9a9fedc5cfb01a4a20c715098.png\",\"type\":\"image\",\"extra\":\"\"}]}
content - public CommentRequest.Builder atInfoList(CommentAtInfo[] atInfoList)
示例值:
atInfoList - public CommentRequest.Builder parentCommentId(String parentCommentId)
示例值:7081516627711524883
parentCommentId - public CommentRequest.Builder commentId(String commentId)
示例值:7081516627711524883
commentId - public CommentRequest.Builder disableBot(Boolean disableBot)
示例值:false
disableBot - public CommentRequest.Builder extra(String extra)
示例值:{\"a\":\"a\"}
extra - public CommentRequest build()
Copyright © 2024. All rights reserved.