Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ImageComments

Represents a page of comments on an image

export
class

ImageComments

Hierarchy

  • ImageComments

Index

Properties

comments

comments: Comment[] = []

The comments on this page

readonly
type

{Comment[]}

memberof

ImageComments

imageID

imageID: number = 0

The internal ID of the image these comments were posted on

type

{number}

memberof

ImageComments

nextPage

nextPage: number = 0

The index of the next page of comments

type

{number}

memberof

ImageComments

total

total: number = 0

The total number of comments on the image

readonly
type

{number}

memberof

ImageComments

Methods

fetchNextPage

  • Retrieves the next page of comments

    memberof

    ImageComments

    Returns Promise<ImageComments>

    The next page of comments (note that comments might be empty if you go over too many pages)

Generated using TypeDoc