Interface CommentData

Interface to represent the data regarding a comment.

Author

Tiago Grosso tiagogrosso99@gmail.com

Since

0.5.0

Hierarchy

  • CommentData

Properties

hidden?: boolean

Whether the comment is hidden.

id: string

The id of the comment.

like_count?: number

The number of likes on the comment.

media?: InnerId

The media object that contains the comment.

replies?: CommentReplies

The replies to the comment.

text?: string

The text of the comment.

timestamp?: string

The creation date of the comment in ISO 8601.

user?: InnerId

The user that made the comment. Only returned if the user making the query also owns the comment, otherwise, the username field will be included

username?: string

The username of the user who made the comment.

Generated using TypeDoc