Class ReplyableAbstract

The base for all content that you can reply to.

Hierarchy (view full)

Properties

Methods

Properties

createdUtc: number

The unix timestamp when this object was created.

id: string

The ID of this object.

Methods

  • Block the author of this item.

    Returns Promise<void>

    A promise that resolves when the request is complete.

    Note

    Apparently this only works if this item is in modmail or the user's inbox, and if it's not the request silently succeeds anyway.

  • Report this item to the mods.

    The report will be anonymous if you are not a mod of the subreddit. If you are a mod the report will be tied to your username.

    Parameters

    • Optional reason: string

      The reason you are reporting this item.

    Returns Promise<void>

    A promise that resolves when this item has been reported.

Generated using TypeDoc