Constructors
constructor
- new JikePost(client, type, id, detail?): JikePost
-
Parameters
-
-
-
id: string
-
Optional
detail: Post
Properties
Private
#client
Optional
detail
id
id: string
type
Methods
addComment
-
Returns Promise<Comment>
评论信息
like
- like(): Promise<void>
-
Returns Promise<void>
listLikedUsers
- listLikedUsers(option?): Promise<User[]>
-
Returns Promise<User[]>
用户列表
pin
- pin(): Promise<string>
-
Returns Promise<string>
置顶提示文本
queryComments
-
Parameters
-
Optional
order: "LIKES" | "TIME"
-
Returns Promise<Comment[]>
queryDetail
- queryDetail(): Promise<any>
-
Returns Promise<any>
动态详情
remove
- remove(): Promise<string>
-
Returns Promise<string>
删除提示文本
unlike
- unlike(): Promise<void>
-
Returns Promise<void>
unpin
- unpin(): Promise<string>
-
Returns Promise<string>
取消置顶提示文本
Jike 动态