ApiCommentReply

class ApiCommentReply

Description

Class representing a comment reply.

Instance Methods

GetClassType(): commentReply

Returns a type of the ApiCommentReply class.

GetText(): string

Returns the comment reply text.

SetText(sText)

Sets the comment reply text.

GetAuthorName(): string

Returns the comment reply author's name.

SetAuthorName(sAuthorName)

Sets the comment reply author's name.

GetUserId(): string

Returns the user ID of the comment reply author.

SetUserId(sUserId)

Sets the user ID to the comment reply author.

GetTimeUTC(): Number

Returns the timestamp of the comment reply creation in UTC format.

SetTimeUTC(nTimeStamp)

Sets the timestamp of the comment reply creation in UTC format.

GetTime(): Number

Returns the timestamp of the comment reply creation in the current time zone format.

SetTime(nTimeStamp)

Sets the timestamp of the comment reply creation in the current time zone format.

Instance Properties

Textstring

Returns or sets the comment reply text.

AuthorNamestring

Returns or sets the comment reply author's name.

UserIdstring

Returns or sets the user ID of the comment reply author.

TimeUTCnumber | string

Returns or sets the timestamp of the comment reply creation in UTC format.

Timenumber | string

Returns or sets the timestamp of the comment reply creation in the current time zone format.

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).