跳到主要内容

ApiCommentReply

表示 ApiCommentReply 类。

属性

名称类型描述
AuthorNamestring返回或设置批注回复作者的姓名。
Textstring返回或设置批注回复文本。
Timenumber | string返回或设置当前时区格式的批注回复创建时间戳。
TimeUTCnumber | string返回或设置 UTC 格式的批注回复创建时间戳。
UserIdstring返回或设置批注回复作者的用户 ID。

方法

方法返回值描述
GetAuthorNamestring返回批注回复作者的姓名。
GetClassType"commentReply"返回 ApiCommentReply 类的类型。
GetTextstring返回批注回复文本。
GetTimeNumber返回当前时区格式的批注回复创建时间戳。
GetTimeUTCNumber返回 UTC 格式的批注回复创建时间戳。
GetUserIdstring返回批注回复作者的用户 ID。
SetAuthorName设置批注回复作者的姓名。
SetText设置批注回复文本。
SetTime设置当前时区格式的批注回复创建时间戳。
SetTimeUTC设置 UTC 格式的批注回复创建时间戳。
SetUserId设置批注回复作者的用户 ID。